Этот коммит содержится в:
=Corey Hulen
2015-07-30 00:46:17 -08:00
родитель 4244990bf1
Коммит b4877c5d36
3 изменённых файлов: 8 добавлений и 3 удалений

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

@@ -300,9 +300,14 @@ func checkUserPassword(c *Context, user *model.User, password string) bool {
}
return false
} else {
if result := <-Srv.Store.User().UpdateFailedPasswordAttempts(user.Id, 0); result.Err != nil {
c.LogError(result.Err)
}
return true
}
return true
}
// User MUST be validated before calling Login

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

@@ -22,7 +22,7 @@
"AnalyticsUrl": "",
"UseLocalStorage": true,
"StorageDirectory": "./data/",
"AllowedLoginAttempts": 3
"AllowedLoginAttempts": 10
},
"SSOSettings": {
"gitlab": {

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

@@ -22,7 +22,7 @@
"AnalyticsUrl": "",
"UseLocalStorage": true,
"StorageDirectory": "/mattermost/data/",
"AllowedLoginAttempts": 3
"AllowedLoginAttempts": 10
},
"SSOSettings": {
"gitlab": {