forked from forgejo/forgejo
Merge branch 'dev' of https://github.com/gogits/gogs into dev
This commit is contained in:
commit
cc1eb5643e
24 changed files with 56 additions and 140 deletions
|
@ -21,5 +21,6 @@ func TemplatePreview(ctx *middleware.Context, params martini.Params) {
|
|||
ctx.Data["Code"] = "2014031910370000009fff6782aadb2162b4a997acb69d4400888e0b9274657374"
|
||||
ctx.Data["ActiveCodeLives"] = base.Service.ActiveCodeLives / 60
|
||||
ctx.Data["ResetPwdCodeLives"] = base.Service.ResetPwdCodeLives / 60
|
||||
ctx.Data["CurDbValue"] = ""
|
||||
ctx.HTML(200, params["_1"])
|
||||
}
|
||||
|
|
|
@ -54,6 +54,7 @@ func SettingPost(ctx *middleware.Context, form auth.UpdateProfileForm) {
|
|||
user.Name = form.UserName
|
||||
}
|
||||
|
||||
user.FullName = form.FullName
|
||||
user.Email = form.Email
|
||||
user.Website = form.Website
|
||||
user.Location = form.Location
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue