mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-15 08:04:49 +00:00
feat(login): show profile (#485)
* profile data * fix scripts * fix image paths * feat: show profile (with image) when possible * fix profile image width
This commit is contained in:
@@ -37,10 +37,7 @@ func (l *Login) renderMfaVerify(w http.ResponseWriter, r *http.Request, authReq
|
||||
if err != nil {
|
||||
errMessage = l.getErrorMessage(r, err)
|
||||
}
|
||||
data := userData{
|
||||
baseData: l.getBaseData(r, authReq, "Mfa Verify", errType, errMessage),
|
||||
LoginName: authReq.LoginName,
|
||||
}
|
||||
data := l.getUserData(r, authReq, "Mfa Verify", errType, errMessage)
|
||||
if verificationStep != nil {
|
||||
data.MfaProviders = verificationStep.MfaProviders
|
||||
data.SelectedMfaProvider = verificationStep.MfaProviders[0]
|
||||
|
||||
Reference in New Issue
Block a user