summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/user.go b/model/user.go
index c516fae78..b94ceb899 100644
--- a/model/user.go
+++ b/model/user.go
@@ -198,7 +198,7 @@ func (u *User) Sanitize(options map[string]bool) {
if len(options) != 0 && !options["phonenumber"] {
// TODO - fill in when PhoneNumber is added to user model
}
- if len(options) != 0 && !options["passwordupadte"] {
+ if len(options) != 0 && !options["passwordupdate"] {
u.LastPasswordUpdate = 0
}
}