mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Update comment in AuthenticateServerAccess.php
This commit is contained in:
parent
fd848985ee
commit
e69d9b2c26
@ -69,7 +69,7 @@ class AuthenticateServerAccess
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Still allow users to get information about there server if it is installing or being transferred.
|
// Still allow users to get information about their server if it is installing or being transferred.
|
||||||
if (! $request->routeIs('api:client:server.view')) {
|
if (! $request->routeIs('api:client:server.view')) {
|
||||||
if (! $server->isInstalled()) {
|
if (! $server->isInstalled()) {
|
||||||
// Throw an exception for all server routes; however if the user is an admin and requesting the
|
// Throw an exception for all server routes; however if the user is an admin and requesting the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user