mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-15 15:32:30 +02:00
Update:Guest user accounts cannot change the account password #537
This commit is contained in:
parent
729fdd5c9f
commit
049ae73d74
3 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue