Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sucssite
sso
Commits
9fc484fb
Commit
9fc484fb
authored
Oct 31, 2019
by
Imran Hussain
Browse files
Fix a bug that didn't let people try and log in again
parent
a1181ec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.php
View file @
9fc484fb
...
...
@@ -44,7 +44,7 @@ if ( $details["id"] === $SESSIONID ) {
if
(
$details
[
"iss_username"
]
!==
null
)
{
$ISS_LOGIN
=
true
;
}
if
(
$details
[
"lastfailedlogintime"
]
<=
time
()
-
strtotime
(
"-10 minutes"
))
{
if
(
$details
[
"lastfailedlogintime"
]
<=
strtotime
(
"-10 minutes"
))
{
$details
[
"lastfailedlogintime"
]
=
2
;
}
if
(
$details
[
"failedlogincount"
]
>=
3
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment