Hello, friend, welcome back.
In a previous video I have discussed about that, things with you, how can working with the forget
password and also how can regenerate your password?
Right.
That means how can we set your password?
So now in this video, I want to discuss about that email verification option.
That means whatever the user actually created the registration in your site.
First of all, you if you want to make it as a registered, that means you want to verify that email
address.
How can do that work in this video?
I will show that things with a live example.
So for doing this, if you go to that Laravel official Web site, like here I go to that level of official
Web site.
And here, if you go to that documentation and the documentation is right now we are using Lavallade
and sorry, we are using Lavallade.
And then if you go to that security and to the security, you can see there is an email verification.
So if you want to use that email verification that have some of the things we have to update, like,
first of all, that is a model.
Since you know what user model is the user model, we have to updated this part.
That means here we have to add these and also we have to implement our must verify email.
OK, so if you use that mouse very famille, then our this option will be work and then also use as
a notifiable.
So now first of all, open that user.
So I know here we do need this.
I remove everything, OK?
I remove everything from here.
So now if you go to our model, that means that is our controller and the model and there is a default
user.
Right.
The user herea if you go and here you can see they have already actually added that mouse to verify
email.
That means there is a possibility famille that is the ultimate digable and the notifiable.
Then there is no other digable that is actually authentic.
Apple is already added, the notifiable is already added.
So if you do not have this, you actually have to we have to actually add it.
OK, so I have already installed it.
So by default you will also get that same OK.
And then after that we have to do have to use that extended out.
Well, after that we have to use this one that the implement implement as a must verify email.
So now I copy it.
And then after this you can see the cloud extended.
And after this here you have to implement your must verify email.
So that is a must verify email.
So make sure you add it.
And also here is an instruction for use that notifiable I have or by default actually use that notifiable.
So here you don't need to do anything.
OK, so here we successfully updated that part.
Now I just click and save all.
And now after that hour, we have to do that.
Is also the result that the person of the PSU Mom Addison magnate's I have already migrated my file,
so you don't need to do anything.
And that is one of the root.
OK, so these are out.
We have to do we have to add in our webroot area.
So now I copy it.
So I simply copy it and I go to our Web site that the Web first of all here I have to this OK, after
this, I want to add this, OK, that this out there is a default out you have to add.
So I simply add this part on here and now I click as I save all perfect.
So that's all we have to do.
And also in B file, I have already declared that part.
I have already updated our mail option.
I have put that as a military username password.
And there is our form address.
Right.
So that's all you have to do.
Now, let's check this out if you now go to your site.
So I don't need this.
So now if you go to your site and now here I want to refresh it.
And refresh it, so our every e-mail, that means if you go to our database into the database I did
and actually verified animal rights and I went to the logging without this email.
So now if you put your email address and the password, I have put the password to do me one, two,
three, four, five.
So I have already said it.
And I was actually doing one, two, three, four, five as a log in.
So now here you can see is showing is a verification that same is not defined.
That means here I didn't actually and I believe if you go to our as I told you before, if you go to
our there is a config into the config.
If you go to that as a unfortified and with the Fortify here, you can see there is a features for the
email verification.
So here I didn't and I believe so make that show you and I will this version.
OK, so now I and I believe that means right now signable for this project as the email verification
as a Savol.
So now I want to check it again.
Go back.
OK, Highclere, go back and refresh it.
So right now I'm already logged in.
So here you can see, friend, now it's actually displayed this so on, like I show you, there's a
log out and now you log in again.
And now if you put your appropriate email address and the password, if you go here, if you refresh
it, you can see it's not verified.
So now if you put your appropriate email address and the password in you on duty for five.
And now if you click is a login.
Yes, you can see right now it's actually asking you to thanks for signing up before getting it started.
Could you verify your email address by clicking this link just emailed to you?
OK, and if you didn't receive an email, you will gladly send you another.
So that is the reset link.
So now to learn to verify this email address, if you click the recent verification email here.
Nokia's friend is now suing, is a new verification link, has been sent to your email address to provide
it during registration.
OK, that means right now, if you go to you again, e-mail tap and you can see that an internal email
comes up as a verified email address to specific this email address right now, if you open it so you
can see for now, swinger's us verify your email.
OK, so here there is a please check this button below to verify your email address.
Now, if you click as a verify email address, then it should be redirected to your dashboard directly.
And also showing as a verified as a one, that means that one user data.
So this email is not verified.
OK, and also if you check your database right now.
So before that, all is actually now if you can get the browser.
Yes.
You can see for now that is actually the verified.
And when this actually verified, this also display this current date.
So that is the process.
If you want to add the verification email for your site, how can do that work?
Friend, I hope is very much clear to you.
So make sure you updated that verification, that email verification.
You have that military what exactly this verification mail will be retained and then indeed the user,
the user area here, you have to implement that Mosed verification email and also you have to add that
out.
So that is also the fallout.
You can get that things from to the official Web site.
OK, so here you will get that things from here.
So that is all the process.
Sovereign documentation is very much important, but everything is on here.
But a lot of this can become very confused about it.
OK, so that is the process, I hope, and it's not very much clear to you how can verify your email
address.
So thanks for watching.
I'll see you in the next video.