Rework login page to be AJAX/Vue.js based
This commit is contained in:
@@ -32,6 +32,11 @@ class User extends AuthUser {
|
||||
return this.find({ldap_visible: true})
|
||||
}
|
||||
|
||||
// TODO just in case we need this later
|
||||
get can_login() {
|
||||
return true
|
||||
}
|
||||
|
||||
// Prefer soft delete because of the active scope
|
||||
async delete() {
|
||||
this.active = false
|
||||
|
||||
Reference in New Issue
Block a user