summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/user.go2
-rw-r--r--model/utils.go1
2 files changed, 2 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
}
}
diff --git a/model/utils.go b/model/utils.go
index 50e427694..465901a09 100644
--- a/model/utils.go
+++ b/model/utils.go
@@ -17,6 +17,7 @@ import (
)
const (
+ // Also change web/react/stores/browser_store.jsx BROWSER_STORE_VERSION
ETAG_ROOT_VERSION = "11"
)