Skip to content

Commit 3ed6aad

Browse files
committed
Added confirm-password middleware to backend auth routes
Fixed language files
1 parent 46444ee commit 3ed6aad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lang/en/headings.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@
1313
'register' => 'Register at :application',
1414
'password-reset' => 'Reset Password?',
1515
'change-password' => 'Change Password',
16+
'confirm-password' => 'Confirm Password',
1617
];

routes/backend/auth.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
Route::group([
1616
'prefix' => 'auth',
1717
'as' => 'auth.',
18+
'middleware' => 'password.confirm'
1819
], function () {
1920
Route::group([
2021
'prefix' => 'user',

0 commit comments

Comments
 (0)