Update:Guest user accounts cannot change the account password #537

This commit is contained in:
advplyr
2022-04-29 18:38:13 -05:00
parent 729fdd5c9f
commit 049ae73d74
3 changed files with 12 additions and 2 deletions

View File

@ -33,6 +33,9 @@ class User {
get isAdmin() {
return this.type === 'admin'
}
get isGuest() {
return this.type === 'guest'
}
get isAdminOrUp() {
return this.isAdmin || this.isRoot
}