mirror of
https://github.com/10h30/Test-Laravel-Auth-Basics.git
synced 2026-07-11 10:46:16 +09:00
New task - password confirmation
This commit is contained in:
@@ -67,4 +67,15 @@ You need to make changes to two files.
|
||||
In file `routes/web.php` add a Middleware to `/secretpage` URL.
|
||||
And enable email verification in the `app/Models/User.php` file.
|
||||
|
||||
Test method: `test_email_can_be_verified()`.
|
||||
Test method: `test_email_can_be_verified()`.
|
||||
|
||||
---
|
||||
|
||||
## Task 6. Password Confirmation.
|
||||
|
||||
Make the URL `/verysecretpage` redirect to a page to re-enter their password once again.
|
||||
In file `routes/web.php` add a Middleware to that URL.
|
||||
|
||||
Test method: `test_password_confirmation_page()`.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user