some
This commit is contained in:
1 parent
b5b7befd34
commit
28c8e24847
7 files changed
+70
-15
No files matched your search
@@ -82,6 +82,16 @@ class UserService
|
||||
return '';
|
||||
}
|
||||
|
||||
public static function getAuthUserId(): string
|
||||
{
|
||||
$user = self::getAuthUser();
|
||||
if ($user){
|
||||
return $user->id;
|
||||
}
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
public static function getAuthUserPhoto(): string|null
|
||||
{
|
||||
$user = self::getAuthUser();
|
||||
|
||||
Reference in new issue
Block a user