|
|
|
@ -21,18 +21,9 @@ |
|
|
|
|
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="off" required> |
|
|
|
|
</div> |
|
|
|
|
<div class="inline field"> |
|
|
|
|
OpenID: {{ .OpenID }} |
|
|
|
|
<label for="openid">OpenID URI</label> |
|
|
|
|
<input id="openid" value="{{ .OpenID }}" readonly> |
|
|
|
|
</div> |
|
|
|
|
{{if .EnableCaptcha}} |
|
|
|
|
<div class="inline field"> |
|
|
|
|
<label></label> |
|
|
|
|
{{.Captcha.CreateHtml}} |
|
|
|
|
</div> |
|
|
|
|
<div class="required inline field {{if .Err_Captcha}}error{{end}}"> |
|
|
|
|
<label for="captcha">{{.i18n.Tr "captcha"}}</label> |
|
|
|
|
<input id="captcha" name="captcha" value="{{.captcha}}" autocomplete="off"> |
|
|
|
|
</div> |
|
|
|
|
{{end}} |
|
|
|
|
<div class="inline field"> |
|
|
|
|
<label></label> |
|
|
|
|
<button class="ui green button">{{.i18n.Tr "auth.openid_connect_submit"}}</button> |
|
|
|
|