Fix email display in Account Settings

This commit is contained in:
Matt Baer 2018-11-09 20:00:10 -05:00
parent 5614bb448a
commit c800f8c9a2
1 changed files with 1 additions and 1 deletions

View File

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