Skip to content

Commit

Permalink
Prepare 3.9.3 release.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Oct 11, 2019
1 parent 2d52d9a commit 5629cd2
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG-3.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench-core`.

## 3.9.3

Released: 2019-10-11

### Changes

* Update support for Laravel Framework v6.2.
* Update `Orchestra\Testbench\Http\Kernel::$routeMiddleware` to include `password.confirm` middleware.
* Update Laravel 6 skeleton:
- Add `auth.password_timeout` configuration.
- Add `password` value for `validation` language file.

## 3.9.2

Released: 2019-09-15
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"fzaninotto/faker": "^1.4"
},
"require-dev": {
"laravel/framework": "^6.0",
"laravel/framework": "^6.2",
"laravel/laravel": "dev-master",
"mockery/mockery": "^1.2.3",
"phpunit/phpunit": "^8.3"
},
"suggest": {
"laravel/framework": "Required for testing (^6.0).",
"laravel/framework": "Required for testing (^6.2).",
"mockery/mockery": "Allow to use Mockery for testing (^1.2).",
"orchestra/testbench-browser-kit": "Allow to use legacy Laravel BrowserKit for testing (^3.9).",
"orchestra/testbench-dusk": "Allow to use Laravel Dusk for testing (^3.9).",
Expand Down
13 changes: 13 additions & 0 deletions laravel/config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,17 @@
],
],

/*
|--------------------------------------------------------------------------
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
| Here you may define the amount of seconds before a password confirmation
| times out and the user is prompted to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
*/

'password_timeout' => 10800,

];
1 change: 1 addition & 0 deletions laravel/resources/lang/en/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute format is invalid.',
'numeric' => 'The :attribute must be a number.',
'password' => 'The password is incorrect.',
'present' => 'The :attribute field must be present.',
'regex' => 'The :attribute format is invalid.',
'required' => 'The :attribute field is required.',
Expand Down
1 change: 1 addition & 0 deletions src/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ class Kernel extends \Illuminate\Foundation\Http\Kernel
'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class,
'can' => \Illuminate\Auth\Middleware\Authorize::class,
'guest' => Middleware\RedirectIfAuthenticated::class,
'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class,
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
Expand Down

0 comments on commit 5629cd2

Please sign in to comment.