Clarify error messaging for transfers
This commit is contained in:
parent
a2548c14ac
commit
6c39288def
5 changed files with 8 additions and 5 deletions
|
@ -82,7 +82,7 @@ class AuthenticateServerAccess
|
|||
|
||||
if (! is_null($server->transfer)) {
|
||||
if (! $user->root_admin || ($user->root_admin && ! $request->routeIs($this->except))) {
|
||||
throw new ServerTransferringException();
|
||||
throw new ServerTransferringException;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue