mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 20:51:30 +00:00
fix constant auth failure even if logged in
This commit is contained in:
parent
8c9af6d4ca
commit
b19db06572
|
@ -2280,8 +2280,6 @@ class Auth { /* {{{ */
|
||||||
return $response->withStatus(403);
|
return $response->withStatus(403);
|
||||||
} else
|
} else
|
||||||
return $response->withStatus(403);
|
return $response->withStatus(403);
|
||||||
} else {
|
|
||||||
return $response->withStatus(403);
|
|
||||||
}
|
}
|
||||||
if($userobj->isAdmin()) {
|
if($userobj->isAdmin()) {
|
||||||
if($resArr["su"]) {
|
if($resArr["su"]) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user