adjust external-mail to new name externalMail
the naming scheme complies with the ldap standards for attribute names
This commit is contained in:
parent
d05d01933d
commit
52ee7464f7
2 changed files with 3 additions and 3 deletions
|
@ -103,7 +103,7 @@ def selfservice(ldap):
|
|||
request.form["givenName"],
|
||||
request.form["sn"],
|
||||
),
|
||||
"external-mail": request.form["external-mail"],
|
||||
"externalMail": request.form["externalMail"],
|
||||
},
|
||||
)
|
||||
flash(gettext("user data was updated"))
|
||||
|
|
|
@ -37,9 +37,9 @@
|
|||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<label for="external-mail" class="form-label col-sm-2">{% trans email %}e-mail address{% endtrans %}</label>
|
||||
<label for="externalMail" class="form-label col-sm-2">{% trans email %}e-mail address{% endtrans %}</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="email" name="external-mail" id="external-mail" value="{{ CURRENT_USER["external-mail"]|e }}" required class="form-control">
|
||||
<input type="email" name="externalMail" id="externalMail" value="{{ CURRENT_USER["external-mail"]|e }}" required class="form-control">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue