Merge pull request #136 from mattermost/code-review

team code review
Этот коммит содержится в:
Joram Wilander
2015-07-08 09:07:47 -04:00
родитель 450821bcba e3ab0a4e3d
Коммит 3012a7f532
4 изменённых файлов: 10 добавлений и 8 удалений

Просмотреть файл

@@ -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
}
}