{{ define "tpl" }}
{{ if .Session.Get "2fa_must_validate" }} {{ $e := is2faEnabled .Context.User.ID }}
{{ .T "Hey, %s." .Context.User.Username }} {{ if eq $e 1 }} {{ .T "Before proceding any further on Yozora, we require you to use the message you just received on telegram to log in to your account." }} {{ else }} {{ .T "Before proceding further on Yozora, we require you to use your Google Authenticator App to use the code for Yozora, so that we can log you in." }} {{ end }}
{{ if eq $e 2 }}
{{ .T "Lost your phone, or can't access Google Authenticator?" }} {{ .T "Click here to use a recovery code." }}
{{ end }}
{{ else }}
LVstLS0tLS0tPis8XT4tLlstLS0+KysrKzxdPisuK1stLS0+KzxdPi4rWy0+KysrPF0+Li0tWy0tLT4rPF0+LS5bLT4rKys8XT4rLisrKysrKysrKysrKysuLVstPisrKysrPF0+LS5bLT4rKzxdPisuPi1bLS0tPis8XT4tLS4tLVstPisrKys8XT4tLisrKysrKy4uLVstPisrKys8XT4uK1stPisrKzxdPisuKysrKysuLS0tLS0tLisrKysrKysrLi0tWy0+KysrPF0+LS4+KysrKysrKysrKy4rWy0+KysrKys8XT4rLisrKysrLi4uLi4uKysrKysrKy4=
{{ end }}
{{ end }}