mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-21 22:21:47 +00:00

* fix: render favicon from label policy * translate main title * translation * i18n * i18n * i18nkey * rm attr * select user title * Add description meta * Update internal/api/ui/login/mfa_init_verify_handler.go Co-authored-by: Livio Spring <livio.a@gmail.com> * Update internal/api/ui/login/renderer.go Co-authored-by: Livio Spring <livio.a@gmail.com> * merge ifs * use errors.internal * check for i18ndescriptionkey * missing i18n Co-authored-by: Livio Spring <livio.a@gmail.com>
19 lines
463 B
Go
19 lines
463 B
Go
package login
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
const (
|
|
tmplLogoutDone = "logoutdone"
|
|
)
|
|
|
|
func (l *Login) handleLogoutDone(w http.ResponseWriter, r *http.Request) {
|
|
l.renderLogoutDone(w, r)
|
|
}
|
|
|
|
func (l *Login) renderLogoutDone(w http.ResponseWriter, r *http.Request) {
|
|
data := l.getUserData(r, nil, "LogoutDone.Title","LogoutDone.Description", "", "")
|
|
l.renderer.RenderTemplate(w, r, l.getTranslator(r.Context(), nil), l.renderer.Templates[tmplLogoutDone], data, nil)
|
|
}
|