Disallow LDAP bind if trap is set; support setting trap from user form

This commit is contained in:
garrettmills
2020-05-22 09:47:01 -05:00
parent 64356d42d0
commit decb83bdbb
9 changed files with 77 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ class User extends AuthUser {
last_name: this.last_name,
email: this.email,
tagline: this.tagline,
trap: this.trap,
group_ids: (await this.groups()).map(x => x.id),
}
}