Hello, friend, welcome back.
In a previous video, we successfully complete our contact us, so that is our contact page, that is
the contact us form.
So from here, you can actually receive all that your contact message from to the backpacking right
through to the back end.
That is our contact message.
That's all that matters, is only visible in particular that area.
So now in this video on the discourse about one of the most interactive things, like if you go here
right now, you can see the regulatory static picture is visible.
That is static name, and that is also visible, that email address.
But right now, I'm already logging with one of the user.
I have already complete that block out, see if we can get a log out.
So you can see I have already created the user as the administrator will, dot com.
And also here I put on the password I have already discussed about the forget password.
So now in this video, I want to discuss about how can can change that password.
Like if you click a little signing in with a signing here, if you go to our project into the project,
if you go to our Web site.
So right now we don't need this.
But I remember everything simple the way brought I have already created along the route.
As I show you, if you go to that our category, all I copied and now go here.
And if you never access that category, all nothing because they enter.
And here you can see that is our default one.
Right.
So that is the default on.
And here there is option for the profile and it is the profile area.
How can change that images.
And here we change that name, the email address.
Everything is already made in Laravel eight.
Right.
And also because if that is option for the user password, that means the update password is a current
password, new password and the confirmation password.
So right now, I want to do I want to apply for this position that change the password option in particular
that area, and also will create that our profiles are from here.
Refundability that your profile name.
If you want to update your profile email address, how can do that?
Work is step by step.
I will show you that things with a live example.
So that is our default one.
Right.
So that is all the follow on here.
If you want to find out that file location, as I told your friend, if you go to when we install the
default authentication system instead of the negation system here you can see there is a profile and
the profile here, you can see that is the direct user.
That is a log out user.
The saw blade.
There is a two factor authentication update password and the update profile information.
So everything is on here.
And also there is another one as a dashboard.
So that is our dashboard.
Another one is a navigation dropdown and the navigation dropdown here.
So here, if you go like you can see that is actually there are all of the users.
So that is all the user profile.
So here you will get that.
All the details that the dashboard there is a brand.
So here that is the default file.
Right.
So if you want to visible that at this all to user, that means the authenticated user.
That means which user is already logging.
So this user name, if you want to visible, you can visible it with this.
OK, I show you.
So for doing this, first of all, I want to go to a template.
So that is our back in template.
And here I have added this part in our master.
Maybe so first of all, I want to find out appropriate this file location.
So if you go to our admin, so that is our admin folder, so do the admin folder.
That is our body.
So here if you go, I want to find out our admin master.
Right.
So do the admin.
Must be here.
You can see that is actually our logo position, that is our account setting.
And they have some of the static image right now.
They have some of these static images that have some of the static names, if you want to change that
names right now, I'm already logging with the user.
If you go to our database, if you go to that, our user.
So I have already created multiple user.
So you can see there is a kasie.
So I am right now logging with this email address.
Right.
So that is the name as a cuzzi.
So now I want to do and visible this authenticated user name.
That means which user is already logged in.
So here, if you want to change it, you can change it.
I show you like here I want to update it.
This part, I name it as a authenticated user name.
And here I also want to display that authenticated user name.
And if you want to display that authenticated user, our database filename, our database filename.
As you can see, there is a name and there is our email.
So now to do and access that email, my name ID is the email.
OK, name email field.
So now it should be visible this authenticated user name and this authenticated user email.
Now if you click on disable and now if you go our team refresh.
And now you can see Fred is not showing as a courtesy because of all right, now I'm logging with this
administration dot com and this and A at B name is named as A causes for the reasons visible of the
Karzai.
And of course, it's also displayed as a country at the regional dot com Redfearn.
And also, if you want to change that image, just like here, I have already admitted that you may
see also on the visible this image, you can visible it saw here, as I told you in the profile, that
the profile here, you can see the update profile information.
And without the profile information base, the results, all the things you can see that actually showing
that these user profile photo.
OK, so that is clue that one of the front office display that images you can display with this.
I show you if you don't think, get a copy and now go to our admin.
That is our template in the template here.
I want to do all the visible this picture I posted.
And here I also want to do it.
Now, if you click on this, save all.
And now, if you refresh it now, showing that using this way and this object, that means here you
have to have to make it not the D, it will be as authenticated user.
Right.
So this authenticated user profile, I want visible.
So for the reasons here, you have to be able to change it.
I make it as a D authenticated user.
These authenticated these are filling Phelim FileName as a profile of the profile photo profile.
Right.
So here also we have to do we have to update it.
We have to update it on here.
I updated this perfect Maluleke as a Savol and now if you'll refresh it.
Yeah.
Now we see some perfectly visible our this user picture.
So that is the our user picture from here.
I have changed it.
Right.
So here is the successfully display.
So now I want to do I want to create another menu for our change password.
So in particular that area.
So that is our menu.
That is our added master played into that.
We must have played the messages.
So I don't need to use that messages here.
I name it as a change password.
OK, maybe does change password.
So for the change password, first of all, I want to create one of the view page.
Right.
First of all, we have to create that template so that I want to create that out for this one.
So that will be one of the crowd.
So I think you already remember that part.
What exactly the things we have to do.
I mean, the change will get changed by password, so they step up of the crowd.
I want to create so can to create this out.
What exactly you have to do?
We have to go to our Web browser.
Right.
And the way brought here better.
I want to do it on here.
That will be the change password and user profile ROUTT.
OK, that will be all the things on here.
So first of all, I want to do want to copy some of the actual basic method.
I copy it.
So I copied from here and now I posted so it will be as a gate and I just name it as a user password
user slash password, so they step up on that wall and also better able to unlock the role of the controller,
then it'll be better.
So I want to do if you go to our project victory.
So that is a project for you here.
I open the CMD and now I want to play the controller as a PSP artist, send me a controller and then
just name me to the Chains Genes path.
OK, so they step up control.
I want to create so genes pass.
So now if you click as they enter, the notes will be created along the controller name as a changed
pass.
So now I have to do I have to first of all add this one.
I think you already know about that part if you go to our controller.
So that means in our SCDP controller and here I have created one of the new controller as the chains
pass.
Right.
So now, first of all, I want to do all the added I want added in our webroot.
So here after this, I want to do and use this.
So that will be as a change pass I copied and I maybe as a change spot.
So now we can actually access our this controller.
So now we don't update our controller name.
Accountant name will be as a changed boss.
And into that I have already put on the name of this child by name of this child will be as a changed
password.
I copy it and now we know where browed I want to do and updated its will be added change password.
Right.
So now in order to create the methode down the pyramid, the method of the change password.
So this type of one of the method I want to create.
So if you want to create this method, we have to create this method in our this controller.
Right.
So now go to this controller that is here and here.
I only want to do I want to simply load on the page.
I hope you already remember that part.
That means here I want to create the view base.
So like we as a public and then function and then our method name as a changed password.
Lightford So as all different, if you already complete my all the previous part, I think it would
not be very much difficult to you.
It was very much easy process that we have to flow.
OK, so that is actually our method seem to this method area I want to do in any user actually select
as a change password, then it will be redundant redirect to the view base.
So for the reasons I return and then all of the view base.
So I want to do I want to create another view base, you know.
Ah, if you go to our admin into the admin body Subedar into the body area, I want to create another
new file and I just made me that the changed password change underscore password.
So this step up one of the files I want to create.
Right, so that will be the change password dot blade dot PSP.
Perfect scenario.
Don't actually end.
Add this one.
So that will be in our admin and then the body folder into the body folder.
I create the file as the change change and rescore password.
Right, so that your spelling is correct.
So here I have created in our admin the body and the change and the password.
Right.
So that your password perfect.
So that means right now it'll be redacted to a specific this base that means this change password base.
So here I want to do first of all, which will be better.
I want to actually get our main things that our extended our admin master.
So I copied and pasted and also to want to end this section that will be the end section.
Right.
So that that will be an S..
So now if you click the save all and now if you go here, click the refresh.
And now you can see there is another option is visible at the chain's password.
So if you click on the change password, yes, you can see it's so perfectly redacted to our user password.
That means here in particular, that area.
I want to load one of the forms.
So if you want to load on the phone better than to go to our template, the template here, I want to
use some of the template that is a form template actually.
So there is a form advance better.
I want to open it.
First of all, to check it.
So that is our form, that is a form of exercise, that basic form, so that is our basic form.
Right.
And that is also of the submit button.
I want to take this one.
This one actually looked better and take it.
That is our phone fill.
I selected I to inspect it and then you can also redacted to the aspecific.
This page is a in protest.
So that noise selected.
If you put your closer, you can see it's not selected so that it is selected.
I want to do and to actually take this part so that it is our part.
I click the edit as e-mails and I copy that code.
I copy total code from here and now if you go to our space that means here our base is this one I here
I posted and better able to do and make it as a little bit.
All right, let me switch the chief tab.
I want to make it into the right place.
Perfect.
Right.
So here we don't need this.
That is actually one of the day for select data right now.
We don't need this.
I remove it as a save.
All must travel and check it.
The dashboard clicking refresh.
Yeah, you can systema fix that is our phone field and there is a one field.
There is another field.
So now I want to do want to add another one because if you go to our here you can see that the three
input field will be needed as a current password and the new password in the confirmation password.
So now I want to do want to get better.
Copy it.
I want to copy sorry.
And to copy it I copy.
And then here I pass through to now the redacted our three field so that our actually three field.
Right so no one to run to change it.
It'll be as if all current password.
First of all this will be as a current password.
The rules will be as a new password.
That means the new password and then another one, another one will be as a confirmation password.
So that will be as a confirmed password relevant and also don't want to change it.
That means that our I.D. and the placeholders I want to change the placeholder as a current password
and type will be as password type.
That is, our input type will be as a password and that is our new password will be our placeholder.
There is will be as a confirmation password.
So here I updated it.
Now if you click as save all and now if you refresh it, refresh.
Yeah, you can see it's nothing as a current password, new password and the confirmation password.
And also I want to do I want to add on the bottom button will be also be needed after this div.
OK, after this day I want to learn to take on the bottom so bottom button will be as safe, I name
it as a save button.
And also here on to add on the class I want to add on the class class will be what class will we as
a meeting between primary OK primary and between.
I make it as a default medium and then default.
So that will be as a default.
Perfect.
Now, let's check this out, if you know.
And also we have to do we have to add that time because that will be submitted, right.
So that will be as a tide type, will be as a submit.
So that will be at the submit types.
That is when you click on the submit, then it will be as a submit type.
It'll be safe in our particular Disfarmer area.
So now if you click the save all, now if you refresh it now, you can see that is actually perfectly
on the button at the save.
And also here I want to change that name, which will be the change password, which will be at the
change.
Change password, so this will be another chance password, perfect, not click to save all and now
if you refresh it so that will be the change password.
So friend here will successfully create our change password design option.
Right.
So now we have to do we have to update it.
Right.
That means right now I'm already lotting and this user already have one of the password.
Right.
So if you go to a database table, you can see this user already have the password and that is all the
hash tag password.
So here we have to do we have to change it.
So how can I change this functionality?
How can I change this password?
In our next video, I will show you that things with a live example.
So thanks for watching.
I'll see you in the next video.