Skip to content

Commit

Permalink
SQL set default FAILED_LOGIN_LIMIT to 30, thanks to @domiee13
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisjacquet committed May 24, 2022
1 parent 18a3776 commit 5867dae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -93,6 +93,7 @@ Changes in 9.0
- Remove deprecated `_makeTeacher()` function in ReportCards.fnc.php
- Use multiple select input for grades list to gain space in Widget.php
- Fix regression since 5.0, allow Administration of "Lunch" attendance categories in Administration.php, AttendanceCodes.fnc.php & colors.css
- SQL set default FAILED_LOGIN_LIMIT to 30 in rosariosis.sql, thanks to @domiee13

Changes in 8.9.6
----------------
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -267,7 +267,7 @@

if ( $is_banned )
{
// Failed login: ban because >= 6 attempts within 10 minutes.
// Failed login ban if >= X failed attempts within 10 minutes.
$error[] = _( 'Too many Failed Login Attempts.' ) . ' '
. _( 'Please try logging in later.' );
}
Expand Down
2 changes: 1 addition & 1 deletion rosariosis.sql
Expand Up @@ -2369,7 +2369,7 @@ INSERT INTO config VALUES (0, 'STUDENTS_EMAIL_FIELD', NULL);
INSERT INTO config VALUES (0, 'DISPLAY_NAME', 'FIRST_NAME||coalesce('' ''||MIDDLE_NAME||'' '','' '')||LAST_NAME');
INSERT INTO config VALUES (1, 'DISPLAY_NAME', 'FIRST_NAME||coalesce('' ''||MIDDLE_NAME||'' '','' '')||LAST_NAME');
INSERT INTO config VALUES (0, 'LIMIT_EXISTING_CONTACTS_ADDRESSES', NULL);
INSERT INTO config VALUES (0, 'FAILED_LOGIN_LIMIT', NULL);
INSERT INTO config VALUES (0, 'FAILED_LOGIN_LIMIT', 30);
INSERT INTO config VALUES (0, 'PASSWORD_STRENGTH', '1');
INSERT INTO config VALUES (0, 'FORCE_PASSWORD_CHANGE_ON_FIRST_LOGIN', NULL);
INSERT INTO config VALUES (0, 'GRADEBOOK_CONFIG_ADMIN_OVERRIDE', NULL);
Expand Down

0 comments on commit 5867dae

Please sign in to comment.