mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-22 08:31:41 +01:00
Update:Guest user accounts cannot change the account password #537
This commit is contained in:
1 parent
729fdd5c9f
commit
049ae73d74
3 files changed
+12
-2
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user