mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:14:13 +01:00
bug fixed
This commit is contained in:
parent
6f6fda1481
commit
57f6ec672a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
<label class="col-md-3 control-label">Auth Source: </label>
|
<label class="col-md-3 control-label">Auth Source: </label>
|
||||||
<div class="col-md-7">
|
<div class="col-md-7">
|
||||||
<select name="logintype" class="form-control">
|
<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}}
|
{{$tp := .User.LoginSource}}
|
||||||
{{range $key, $val := .LoginSources}}
|
{{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>
|
||||||
|
|
Loading…
Reference in a new issue