Browse Source

bug fixed

pull/357/head
lunnyxiao 11 years ago
parent
commit
57f6ec672a
  1. 2
      templates/admin/user/edit.tmpl

2
templates/admin/user/edit.tmpl

@ -17,7 +17,7 @@
<label class="col-md-3 control-label">Auth Source: </label>
<div class="col-md-7">
<select name="logintype" class="form-control">
<option value="0-0"{{if eq 0 .User.LoginSource}} selected{{end}}>Local</option>
<option value="0-0">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>

Loading…
Cancel
Save