fix: template names in login (#1974)

* fix: template names in login

* fix: error.html
This commit is contained in:
Livio Amstutz 2021-07-06 11:56:43 +02:00 committed by GitHub
parent 2e3b0c54c0
commit 20f84ef469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ func CreateRenderer(pathPrefix string, staticDir http.FileSystem, staticStorage
tmplUserSelection: "select_user.html",
tmplPassword: "password.html",
tmplPasswordlessVerification: "passwordless.html",
tmplMFAVerify: "mfa_verify.html",
tmplMFAVerify: "mfa_verify_otp.html",
tmplMFAPrompt: "mfa_prompt.html",
tmplMFAInitVerify: "mfa_init_verify.html",
tmplMFAInitVerify: "mfa_init_otp.html",
tmplMFAU2FInit: "mfa_init_u2f.html",
tmplU2FVerification: "mfa_verification_u2f.html",
tmplMFAInitDone: "mfa_init_done.html",

View File

@ -4,7 +4,7 @@
<div class="lgn-error">
<i class="lgn-icon-exclamation-circle-solid lgn-warn"></i>
<p class="lgn-error-message">
{{ if .ErrType }}{{ .ErrType }} - {{end}}{{ .ErrMessage }}
{{ .ErrMessage }}{{ if .ID }} ({{ .ID }}){{end}}
</p>
</div>
</div>