diff options
author | Unknwon <u@gogs.io> | 2015-09-01 05:44:36 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-01 05:44:36 -0400 |
commit | 6c7a93a3acdac90f9af1efbc67961b84f46caa56 (patch) | |
tree | fb1203693bde3a9ddf53fe86ce7da7150931bae2 /templates/admin/user | |
parent | ee3e0c3c49d2a4bf9a33386ab22d4c521e5016b6 (diff) | |
download | gitea-6c7a93a3acdac90f9af1efbc67961b84f46caa56.tar.gz gitea-6c7a93a3acdac90f9af1efbc67961b84f46caa56.zip |
fix #1553
Diffstat (limited to 'templates/admin/user')
-rw-r--r-- | templates/admin/user/edit.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index 4f4cc727ab..e6591b80db 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -20,7 +20,7 @@ <option value="0-0">{{.i18n.Tr "admin.users.local"}}</option> {{$tp := .User.LoginSource}} {{range $key, $val := .LoginSources}} - <option value="{{$val.Type}}-{{$val.Id}}"{{if eq $val.Id $tp}} selected{{end}}>{{$val.Name}}</option> + <option value="{{$val.Type}}-{{$val.ID}}"{{if eq $val.ID $tp}} selected{{end}}>{{$val.Name}}</option> {{end}} </select> </div> |