Skip to content

Commit 1a216bd

Browse files
committed
change password recovery defaults
1 parent 6309908 commit 1a216bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/config/backpack/base.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
// for a certain email, to make sure they cannot be spammed that way.
216216
// How many seconds should a visitor wait, after they've requested a
217217
// password reset, before they can try again for the same email?
218-
'password_recovery_throttle_notifications' => 60, // time in seconds
218+
'password_recovery_throttle_notifications' => 600, // time in seconds
219219

220220
// Backpack will prevent an IP from trying to reset the password too many times,
221221
// so that a malicious actor cannot try too many emails, too see if they have
@@ -224,7 +224,8 @@
224224
// How many times in any given time period should the user be allowed to
225225
// attempt a password reset? Take into account that user might wrongly
226226
// type an email at first, so at least allow one more try.
227-
'password_recovery_throttle_access' => '2,5', // (defaults to 2,5 - 2 times every 5 minutes)
227+
// Defaults to 3,10 - 3 times in 10 minutes.
228+
'password_recovery_throttle_access' => '3,10',
228229

229230
/*
230231
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)