summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-06 11:20:40 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-06 11:20:40 -0800
commite3ab0a4e3ddb4b1bfacd2b82073c4a48e58751d6 (patch)
tree1bb90df1b0e35e420d3bafb4c4d586586ba88b3c /model
parent10b625ba1740c6177cfe5c06484f4a14867523bd (diff)
downloadchat-e3ab0a4e3ddb4b1bfacd2b82073c4a48e58751d6.tar.gz
chat-e3ab0a4e3ddb4b1bfacd2b82073c4a48e58751d6.tar.bz2
chat-e3ab0a4e3ddb4b1bfacd2b82073c4a48e58751d6.zip
team code review
Diffstat (limited to 'model')
-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
}
}