Fix email display in Account Settings

pull/24/head
Matt Baer 6 years ago
parent 5614bb448a
commit c800f8c9a2
  1. 2
      account.go

@ -1004,7 +1004,7 @@ func viewSettings(app *app, u *User, w http.ResponseWriter, r *http.Request) err
IsLogOut bool IsLogOut bool
}{ }{
UserPage: NewUserPage(app, r, u.Username, "Account Settings", flashes), UserPage: NewUserPage(app, r, u.Username, "Account Settings", flashes),
Email: fullUser.Email.String, Email: fullUser.EmailClear(app.keys),
HasPass: passIsSet, HasPass: passIsSet,
IsLogOut: r.FormValue("logout") == "1", IsLogOut: r.FormValue("logout") == "1",
} }

Loading…
Cancel
Save