diff options
Diffstat (limited to 'app/user.go')
-rw-r--r-- | app/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/user.go b/app/user.go index a38c61554..87b21fb92 100644 --- a/app/user.go +++ b/app/user.go @@ -159,7 +159,7 @@ func IsUserSignUpAllowed() *model.AppError { } func (a *App) IsFirstUserAccount() bool { - if SessionCacheLength() == 0 { + if a.SessionCacheLength() == 0 { if cr := <-a.Srv.Store.User().GetTotalUsersCount(); cr.Err != nil { l4g.Error(cr.Err) return false |