1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-21 12:44:49 -05:00
This commit is contained in:
Unknown 2014-03-13 03:44:56 -04:00
parent 57bc2d1ca0
commit 76dae5bf68

View file

@ -24,6 +24,8 @@ func Setting(form auth.UpdateProfileForm, r render.Render, data base.TmplData, r
user := auth.SignedInUser(session)
if req.Method == "GET" {
data["Owner"] = user
r.HTML(200, "user/setting", data)
return
}
if hasErr, ok := data["HasError"]; ok && hasErr.(bool) {