mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
fetch name
This commit is contained in:
parent
8cebce15f8
commit
5b3a66a8c1
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ class AuthController extends BaseController {
|
||||||
$steamId = $steam->validate();
|
$steamId = $steam->validate();
|
||||||
if ($steamId) {
|
if ($steamId) {
|
||||||
$steamIdObject = new SteamId($steamId);
|
$steamIdObject = new SteamId($steamId);
|
||||||
|
$steamIdObject->fetch();
|
||||||
$key = $this->userProvider->store($steamIdObject, $steamIdObject->getNickname());
|
$key = $this->userProvider->store($steamIdObject, $steamIdObject->getNickname());
|
||||||
$this->authProvider->setUser($token, $steamIdObject, $key);
|
$this->authProvider->setUser($token, $steamIdObject, $key);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue