Implements guest access checking functions

This commit is contained in:
Alicia Sykes
2021-08-18 21:23:39 +01:00
parent e4d7660712
commit 39ee63ebd3
3 changed files with 46 additions and 13 deletions

View File

@@ -166,4 +166,11 @@ module.exports = {
],
/* Use your own self-hosted Sentry instance. Only used if error reporting is turned on */
sentryDsn: 'https://3138ea85f15a4fa883a5b27a4dc8ee28@o937511.ingest.sentry.io/5887934',
/* A JS enum for indicating the user state, when guest mode + authentication is enabled */
userStateEnum: {
notConfigured: 0,
loggedIn: 1,
guestAccess: 2,
notLoggedIn: 3,
},
};