Use readonly input form to show the validated OpenID URI (#1308)
This commit is contained in:
parent
8bcb643a03
commit
430cc4f42a
@ -21,18 +21,9 @@
|
|||||||
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="off" required>
|
<input id="password" name="password" type="password" value="{{.password}}" autocomplete="off" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
OpenID: {{ .OpenID }}
|
<label for="openid">OpenID URI</label>
|
||||||
|
<input id="openid" value="{{ .OpenID }}" readonly>
|
||||||
</div>
|
</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">
|
<div class="inline field">
|
||||||
<label></label>
|
<label></label>
|
||||||
<button class="ui green button">{{.i18n.Tr "auth.openid_connect_submit"}}</button>
|
<button class="ui green button">{{.i18n.Tr "auth.openid_connect_submit"}}</button>
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
<input id="email" name="email" type="email" value="{{.email}}" required>
|
<input id="email" name="email" type="email" value="{{.email}}" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
OpenID: {{ .OpenID }}
|
<label for="openid">OpenID URI</label>
|
||||||
|
<input id="openid" value="{{ .OpenID }}" readonly>
|
||||||
</div>
|
</div>
|
||||||
<div class="inline field">
|
<div class="inline field">
|
||||||
<label></label>
|
<label></label>
|
||||||
|
Loading…
Reference in New Issue
Block a user