From 52ee7464f71f78db1c56430e4019a1fa0b1ef242 Mon Sep 17 00:00:00 2001 From: Rico Ullmann Date: Sun, 2 Jan 2022 23:12:28 +0100 Subject: [PATCH] adjust external-mail to new name externalMail the naming scheme complies with the ldap standards for attribute names --- ldap_frontend/__init__.py | 2 +- ldap_frontend/templates/selfservice.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ldap_frontend/__init__.py b/ldap_frontend/__init__.py index 204c96a..e901641 100644 --- a/ldap_frontend/__init__.py +++ b/ldap_frontend/__init__.py @@ -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")) diff --git a/ldap_frontend/templates/selfservice.html b/ldap_frontend/templates/selfservice.html index e3fe419..2a604c8 100644 --- a/ldap_frontend/templates/selfservice.html +++ b/ldap_frontend/templates/selfservice.html @@ -37,9 +37,9 @@
- +
- +