mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-28 13:58:40 +02:00
This commit is contained in:
parent
03963aa9a1
commit
b9dee8704f
5 changed files with 93 additions and 38 deletions
|
@ -37,6 +37,9 @@ class User {
|
|||
get canUpload() {
|
||||
return !!this.permissions.upload && this.isActive
|
||||
}
|
||||
get hasPw() {
|
||||
return !!this.pash && !!this.pash.length
|
||||
}
|
||||
|
||||
getDefaultUserSettings() {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue