summaryrefslogtreecommitdiffstats
path: root/routers/admin/auths.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-05-15 22:34:36 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-05-15 22:34:36 +0800
commitf4486f3eec1856559f52291c283fe076352fccfe (patch)
tree43b51feb85e41c5791e5c110326cce3e2705042c /routers/admin/auths.go
parent4f042d12bd0cd45a47b3d7347112e685801d3bef (diff)
downloadgitea-f4486f3eec1856559f52291c283fe076352fccfe.tar.gz
gitea-f4486f3eec1856559f52291c283fe076352fccfe.zip
bug fixed #193
Diffstat (limited to 'routers/admin/auths.go')
-rw-r--r--routers/admin/auths.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/auths.go b/routers/admin/auths.go
index b7b382cd94..bf4bade17b 100644
--- a/routers/admin/auths.go
+++ b/routers/admin/auths.go
@@ -144,6 +144,7 @@ func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) {
}
u := models.LoginSource{
+ Id: form.Id,
Name: form.AuthName,
IsActived: form.IsActived,
Type: form.Type,