Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auth rule interval fix #186

Merged
merged 1 commit into from Feb 5, 2018
Merged

Conversation

tyrant88
Copy link
Contributor

@tyrant88 tyrant88 commented Feb 4, 2018

Bin durch einen Fehler erst nach Diagnose auf issue #169 gestoßen.
Eingestellt war eine Regel vom Typ "interval". Anmeldung war nicht möglich.
Jetzt hatte ich geprüft und habe das Problem lokalisiert.

Im Code ergibt $loginTries % $rule['tries'] zu Beginn 0, da (0 mod x) = 0 ist.
Es wird also beim ersten Loginversuch nicht true zurückgegeben.
Denke das ist nicht sinnvoll.

@dergel dergel merged commit 99db724 into yakamara:master Feb 5, 2018
@tyrant88 tyrant88 deleted the rules-fix-tyrant88 branch February 5, 2018 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants