Fix email display in Account Settings
This commit is contained in:
@@ -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",
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user