mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-15 20:41:30 +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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
request.DisplayName = userSession.DisplayName
|
||||||
|
request.AvatarKey = userSession.AvatarKey
|
||||||
|
|
||||||
isInternalLogin := request.SelectedIDPConfigID == "" && userSession.SelectedIDPConfigID == ""
|
isInternalLogin := request.SelectedIDPConfigID == "" && userSession.SelectedIDPConfigID == ""
|
||||||
idps, err := checkExternalIDPsOfUser(ctx, repo.IDPUserLinksProvider, user.ID)
|
idps, err := checkExternalIDPsOfUser(ctx, repo.IDPUserLinksProvider, user.ID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user