mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-17 04:51:28 +00:00

* profile data * fix scripts * fix image paths * feat: show profile (with image) when possible * fix profile image width
22 lines
541 B
Go
22 lines
541 B
Go
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/caos/zitadel/internal/auth_request/model"
|
|
)
|
|
|
|
const (
|
|
tmplMfaInitDone = "mfainitdone"
|
|
)
|
|
|
|
type mfaInitDoneData struct {
|
|
}
|
|
|
|
func (l *Login) renderMfaInitDone(w http.ResponseWriter, r *http.Request, authReq *model.AuthRequest, data *mfaDoneData) {
|
|
var errType, errMessage string
|
|
data.baseData = l.getBaseData(r, authReq, "Mfa Init Done", errType, errMessage)
|
|
data.profileData = l.getProfileData(authReq)
|
|
l.renderer.RenderTemplate(w, r, l.renderer.Templates[tmplMfaInitDone], data, nil)
|
|
}
|