mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
fix: render only base language in html (#3759)
This commit is contained in:
parent
32afa77b97
commit
d65761f388
@ -332,12 +332,13 @@ func (l *Login) getUserData(r *http.Request, authReq *domain.AuthRequest, title
|
||||
}
|
||||
|
||||
func (l *Login) getBaseData(r *http.Request, authReq *domain.AuthRequest, title string, errType, errMessage string) baseData {
|
||||
lang, _ := l.renderer.ReqLang(l.getTranslator(r.Context(), authReq), r).Base()
|
||||
baseData := baseData{
|
||||
errorData: errorData{
|
||||
ErrID: errType,
|
||||
ErrMessage: errMessage,
|
||||
},
|
||||
Lang: l.renderer.ReqLang(l.getTranslator(r.Context(), authReq), r).String(),
|
||||
Lang: lang.String(),
|
||||
Title: title,
|
||||
Theme: l.getTheme(r),
|
||||
ThemeMode: l.getThemeMode(r),
|
||||
|
Loading…
Reference in New Issue
Block a user