diff options
author | Sandro Santilli <strk@kbt.io> | 2017-03-20 02:50:24 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-03-20 09:50:24 +0800 |
commit | 430cc4f42ae0a1186de30b8eae2f1660af6fea35 (patch) | |
tree | 21a32b79ab3cfd896b8a4694c71744ee52eb6aed /templates/user/auth/signup_openid_connect.tmpl | |
parent | 8bcb643a031e4739ca8ead8351ef7f9092969299 (diff) | |
download | gitea-430cc4f42ae0a1186de30b8eae2f1660af6fea35.tar.gz gitea-430cc4f42ae0a1186de30b8eae2f1660af6fea35.zip |
Use readonly input form to show the validated OpenID URI (#1308)
Diffstat (limited to 'templates/user/auth/signup_openid_connect.tmpl')
-rw-r--r-- | templates/user/auth/signup_openid_connect.tmpl | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/templates/user/auth/signup_openid_connect.tmpl b/templates/user/auth/signup_openid_connect.tmpl index 476141e0d0..72b426f1b8 100644 --- a/templates/user/auth/signup_openid_connect.tmpl +++ b/templates/user/auth/signup_openid_connect.tmpl @@ -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> |