Browse Source

Merge branch 'master' into develop

Graham Campbell 5 years ago
parent
commit
89a80da132
3 changed files with 5 additions and 1 deletions
  1. 1 0
      config/auth.php
  2. 3 1
      phpunit.xml
  3. 1 0
      resources/lang/en/passwords.php

+ 1 - 0
config/auth.php

@@ -97,6 +97,7 @@ return [
             'provider' => 'users',
             'table' => 'password_resets',
             'expire' => 60,
+            'throttle' => 60,
         ],
     ],
 

+ 3 - 1
phpunit.xml

@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<phpunit backupGlobals="false"
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
+         backupGlobals="false"
          backupStaticAttributes="false"
          bootstrap="vendor/autoload.php"
          colors="true"

+ 1 - 0
resources/lang/en/passwords.php

@@ -17,5 +17,6 @@ return [
     'sent' => 'We have e-mailed your password reset link!',
     'token' => 'This password reset token is invalid.',
     'user' => "We can't find a user with that e-mail address.",
+    'throttled' => 'Please wait before retrying.',
 
 ];