Fix email display in Account Settings
This commit is contained in:
parent
5614bb448a
commit
c800f8c9a2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue