web/admin: fix user_write form not writing group

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-09-27 09:57:17 +02:00
parent 830c26ca25
commit ebe282eb1a
2 changed files with 4 additions and 4 deletions

View File

@ -216,8 +216,8 @@ class TestProviderLDAP(SeleniumTestCase):
"mail": [""],
"objectClass": [
"user",
"inetOrgPerson",
"organizationalPerson",
"inetOrgPerson",
"goauthentik.io/ldap/user",
],
"uidNumber": [str(2000 + outpost_user.pk)],
@ -243,8 +243,8 @@ class TestProviderLDAP(SeleniumTestCase):
"mail": [""],
"objectClass": [
"user",
"inetOrgPerson",
"organizationalPerson",
"inetOrgPerson",
"goauthentik.io/ldap/user",
],
"uidNumber": [str(2000 + embedded_account.pk)],
@ -270,8 +270,8 @@ class TestProviderLDAP(SeleniumTestCase):
"mail": [USER().email],
"objectClass": [
"user",
"inetOrgPerson",
"organizationalPerson",
"inetOrgPerson",
"goauthentik.io/ldap/user",
],
"uidNumber": [str(2000 + USER().pk)],

View File

@ -74,7 +74,7 @@ export class UserWriteStageForm extends ModelForm<UserWriteStage, string> {
${t`Mark newly created users as inactive.`}
</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal label=${t`Group`} name="searchGroup">
<ak-form-element-horizontal label=${t`Group`} name="createUsersGroup">
<select class="pf-c-form-control">
<option
value=""