summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-12 20:58:51 -0400
committerUnknwon <u@gogs.io>2015-09-12 20:58:51 -0400
commitcd37fccdfbdf5a1a5b2d85263ffb219068d19205 (patch)
treeefdb171b2bfdbc66862d76d4a85a1c25b0a09363 /templates
parent6969c20afd136ac911c66fd7c7ed88d611ba79fc (diff)
downloadgitea-cd37fccdfbdf5a1a5b2d85263ffb219068d19205.tar.gz
gitea-cd37fccdfbdf5a1a5b2d85263ffb219068d19205.zip
#1625 remove auto_register and makes it default
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/auth/edit.tmpl6
-rw-r--r--templates/admin/auth/new.tmpl6
2 files changed, 0 insertions, 12 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index f2d21d8b29..377bbbcffa 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -133,12 +133,6 @@
{{end}}
<div class="inline field">
<div class="ui checkbox">
- <label><strong>{{.i18n.Tr "admin.auths.enable_auto_register"}}</strong></label>
- <input name="allow_auto_register" type="checkbox" {{if .Source.AllowAutoRegister}}checked{{end}}>
- </div>
- </div>
- <div class="inline field">
- <div class="ui checkbox">
<label><strong>{{.i18n.Tr "admin.auths.activated"}}</strong></label>
<input name="is_active" type="checkbox" {{if .Source.IsActived}}checked{{end}}>
</div>
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index e7edccf6a8..6c38ec5b5d 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -130,12 +130,6 @@
</div>
<div class="inline field">
<div class="ui checkbox">
- <label><strong>{{.i18n.Tr "admin.auths.enable_auto_register"}}</strong></label>
- <input name="allow_auto_register" type="checkbox" {{if .allow_auto_register}}checked{{end}}>
- </div>
- </div>
- <div class="inline field">
- <div class="ui checkbox">
<label><strong>{{.i18n.Tr "admin.auths.activated"}}</strong></label>
<input name="is_active" type="checkbox" {{if .is_active}}checked{{end}}>
</div>