From e624047d60c01fbbb8404661bb503701839579b9 Mon Sep 17 00:00:00 2001 From: Fabi <38692350+fgerschwiler@users.noreply.github.com> Date: Thu, 6 Jan 2022 15:01:37 +0100 Subject: [PATCH] fix: account selection (#2926) * fix: account selection * fix: styling of disabled accounts * fix: styling of disabled accounts * fix: don't show disabled accounts * fix: remove unused css * fix: remove unused css * fix: remove unused css --- internal/ui/login/static/templates/select_user.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/ui/login/static/templates/select_user.html b/internal/ui/login/static/templates/select_user.html index eaa9f64b7e..d65ad515dd 100644 --- a/internal/ui/login/static/templates/select_user.html +++ b/internal/ui/login/static/templates/select_user.html @@ -24,8 +24,10 @@
{{ if .Users }} {{ $displayLoginNameSuffix := and .OrgID (not .DisplayLoginNameSuffix)}} + {{ $orgName := .OrgName }} {{ range $user := .Users }} {{ $sessionState := (printf "SelectAccount.SessionState%v" $user.UserSessionState) }} + {{if $user.SelectionPossible}} {{ end }} {{ end }} + {{ end }}