Flesh out Cobalt, LDAP groups, &c.
This commit is contained in:
@@ -34,6 +34,17 @@ class User extends AuthUser {
|
||||
}}
|
||||
}
|
||||
|
||||
async to_api() {
|
||||
return {
|
||||
id: this.id,
|
||||
uid: this.uid,
|
||||
first_name: this.first_name,
|
||||
last_name: this.last_name,
|
||||
email: this.email,
|
||||
tagline: this.tagline,
|
||||
}
|
||||
}
|
||||
|
||||
static scopes = [
|
||||
new ActiveScope({})
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user