mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-23 23:29:59 +08:00
Updated user references to be app-default-supporting functions
This commit is contained in:
@ -75,7 +75,7 @@ class SettingService
|
||||
*/
|
||||
public function getForCurrentUser($key, $default = false)
|
||||
{
|
||||
return $this->getUser(auth()->user(), $key, $default);
|
||||
return $this->getUser(user(), $key, $default);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user