mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
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
This commit is contained in:
parent
aa2a1848da
commit
e624047d60
@ -24,8 +24,10 @@
|
||||
<div class="lgn-account-selection">
|
||||
{{ if .Users }}
|
||||
{{ $displayLoginNameSuffix := and .OrgID (not .DisplayLoginNameSuffix)}}
|
||||
{{ $orgName := .OrgName }}
|
||||
{{ range $user := .Users }}
|
||||
{{ $sessionState := (printf "SelectAccount.SessionState%v" $user.UserSessionState) }}
|
||||
{{if $user.SelectionPossible}}
|
||||
<button type="submit" name="userID" value="{{$user.UserID}}" class="lgn-account"
|
||||
{{if not $user.SelectionPossible}}disabled title="{{t "Errors.User.NotAllowedOrg"}}"{{end}}>
|
||||
<div class="left">
|
||||
@ -47,6 +49,7 @@
|
||||
</button>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<button type="submit" name="userID" value="0" class="lgn-account">
|
||||
<div class="left">
|
||||
<div class="lgn-avatar transparent">
|
||||
|
Loading…
Reference in New Issue
Block a user