From c5ebeea590b91c2c83f54eb3cdaf4ab444bf4a6a Mon Sep 17 00:00:00 2001 From: Livio Spring Date: Fri, 9 Dec 2022 13:10:20 +0100 Subject: [PATCH] fix: compute usernames in auth views correctly after domain policy change (#4860) * fix: compute usernames in auth views correctly after domain policy change * userloginmustbedomain hint Co-authored-by: Max Peintner --- .../domain-policy.component.html | 30 +++++++++++++++- .../domain-policy.component.scss | 35 ++++++++++++++++++- console/src/assets/i18n/de.json | 3 +- console/src/assets/i18n/en.json | 3 +- console/src/assets/i18n/fr.json | 1 + console/src/assets/i18n/it.json | 1 + console/src/assets/i18n/zh.json | 1 + .../repository/eventsourcing/handler/user.go | 14 ++++---- .../eventsourcing/handler/user_session.go | 14 ++++---- 9 files changed, 84 insertions(+), 18 deletions(-) diff --git a/console/src/app/modules/policies/domain-policy/domain-policy.component.html b/console/src/app/modules/policies/domain-policy/domain-policy.component.html index 11edde75b9..9b054fd39d 100644 --- a/console/src/app/modules/policies/domain-policy/domain-policy.component.html +++ b/console/src/app/modules/policies/domain-policy/domain-policy.component.html @@ -28,7 +28,7 @@ -
+
+ +
+ {{ 'POLICY.DATA.USERLOGINMUSTBEDOMAIN_DESCRIPTION' | translate }} + +
+
+
domainacme.com
+
usernamejohn
+
loginnamejohn@acme.com
+ +
domainacme.com
+
usernamejohn@acme.com
+
loginnamejohn@acme.com
+
+ +
+
domainacme.com
+
usernamejohn@acme.com
+
loginnamejohn@acme.com
+ +
domainacme.com
+
usernamejohn
+
loginnamejohn@acme.com
+
+
+
+
+