error page handling fixes

This commit is contained in:
Jan Prochazka
2024-08-06 14:59:09 +02:00
parent 399298d3bb
commit a7444a1475
7 changed files with 31 additions and 27 deletions

View File

@@ -27,7 +27,7 @@ class AuthProviderBase {
}
isUserLoggedIn(req) {
return !!req.user || !!req.auth;
return !!req?.user || !!req?.auth;
}
getCurrentPermissions(req) {