Verify Email with Auth #34470
Unanswered
lalanankit
asked this question in
General
Replies: 2 comments 1 reply
-
can you provide your mail configuration |
Beta Was this translation helpful? Give feedback.
1 reply
-
This has been resolved and can be closed. Make the following changes to .env file:
routes\web.php HomeController.php
model\user.php
That's it. It will bring the Laravel 8 Auth to your project. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Laravel Version 8 with Admin LTE template.
Current behavior
Unable to send emails for reset password or user registration.
Expected Behavior
Sending emails and Verified At timestamp populated to users table.
Changes to register controller
Changes to user model:
class User extends Authenticatable implements MustVerifyEmail
{
use HasFactory, Notifiable;
Changes to routes, web.php
Auth::routes(['verify' => true]);
Steps To Reproduce:
Create a project with Laravel 8 and auth, configure the email settings, run migration and create a user with Register Link from the home page
There is an entry in database but exception on the app.
Exception:

Beta Was this translation helpful? Give feedback.
All reactions