mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 22:05:47 -05:00
frontend translations
This commit is contained in:
@@ -14,7 +14,7 @@ trait ResolvesRequestContext
|
||||
{
|
||||
protected function authenticatedUser(Request $request): User
|
||||
{
|
||||
return $request->user() ?? throw new AuthenticationException('This endpoint requires an authenticated user.');
|
||||
return $request->user() ?? throw new AuthenticationException(__('exceptions.api.unauthenticated'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user