summaryrefslogtreecommitdiffstats
path: root/templates/admin/user
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-01 08:13:45 -0400
committerUnknwon <u@gogs.io>2015-09-01 08:13:45 -0400
commit50dbc2732bd77bccfaf9ca25bf0bfa336555fe8c (patch)
tree6716f752dfbe8b1a61438b1f6cc0c88096c2ac94 /templates/admin/user
parent7714e792a4ff5b179c24b1db35a5d452716c47f0 (diff)
downloadgitea-50dbc2732bd77bccfaf9ca25bf0bfa336555fe8c.tar.gz
gitea-50dbc2732bd77bccfaf9ca25bf0bfa336555fe8c.zip
more fix on #1553
Diffstat (limited to 'templates/admin/user')
-rw-r--r--templates/admin/user/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl
index 38acbf8ff9..9b05eebf53 100644
--- a/templates/admin/user/new.tmpl
+++ b/templates/admin/user/new.tmpl
@@ -19,7 +19,7 @@
<select id="login-type" name="logintype">
<option value="0-0">{{.i18n.Tr "admin.users.local"}}</option>
{{range $key, $val := .LoginSources}}
- <option value="{{$val.Type}}-{{$val.Id}}">{{$val.Name}}</option>
+ <option value="{{$val.Type}}-{{$val.ID}}">{{$val.Name}}</option>
{{end}}
</select>
</div>