mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 06:46:00 +00:00
error page handling fixes
This commit is contained in:
@@ -27,7 +27,7 @@ class AuthProviderBase {
|
||||
}
|
||||
|
||||
isUserLoggedIn(req) {
|
||||
return !!req.user || !!req.auth;
|
||||
return !!req?.user || !!req?.auth;
|
||||
}
|
||||
|
||||
getCurrentPermissions(req) {
|
||||
|
||||
Reference in New Issue
Block a user