mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
fix: avatar missing on login after going back (#6238)
* fix: avatar missing on login after going back * fix: apply @livio-a suggestion --------- Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
e5acfb76b3
commit
85423b73e9
@ -946,6 +946,8 @@ func (repo *AuthRequestRepo) nextSteps(ctx context.Context, request *domain.Auth
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
request.DisplayName = userSession.DisplayName
|
||||
request.AvatarKey = userSession.AvatarKey
|
||||
|
||||
isInternalLogin := request.SelectedIDPConfigID == "" && userSession.SelectedIDPConfigID == ""
|
||||
idps, err := checkExternalIDPsOfUser(ctx, repo.IDPUserLinksProvider, user.ID)
|
||||
|
Loading…
Reference in New Issue
Block a user