1
00:00:00,330 --> 00:00:01,770
Hello, friend, welcome back.

2
00:00:02,130 --> 00:00:06,720
In a previous video I have discussed about that, things with you, how can working with the forget

3
00:00:06,720 --> 00:00:09,810
password and also how can regenerate your password?

4
00:00:10,080 --> 00:00:10,400
Right.

5
00:00:10,440 --> 00:00:12,090
That means how can we set your password?

6
00:00:12,390 --> 00:00:16,790
So now in this video, I want to discuss about that email verification option.

7
00:00:16,800 --> 00:00:20,730
That means whatever the user actually created the registration in your site.

8
00:00:20,730 --> 00:00:25,380
First of all, you if you want to make it as a registered, that means you want to verify that email

9
00:00:25,380 --> 00:00:25,890
address.

10
00:00:25,890 --> 00:00:27,870
How can do that work in this video?

11
00:00:27,880 --> 00:00:30,070
I will show that things with a live example.

12
00:00:30,300 --> 00:00:35,730
So for doing this, if you go to that Laravel official Web site, like here I go to that level of official

13
00:00:35,730 --> 00:00:36,270
Web site.

14
00:00:36,630 --> 00:00:42,840
And here, if you go to that documentation and the documentation is right now we are using Lavallade

15
00:00:43,080 --> 00:00:45,780
and sorry, we are using Lavallade.

16
00:00:45,930 --> 00:00:51,630
And then if you go to that security and to the security, you can see there is an email verification.

17
00:00:52,020 --> 00:00:57,360
So if you want to use that email verification that have some of the things we have to update, like,

18
00:00:57,360 --> 00:00:58,560
first of all, that is a model.

19
00:00:58,980 --> 00:01:03,510
Since you know what user model is the user model, we have to updated this part.

20
00:01:03,510 --> 00:01:08,710
That means here we have to add these and also we have to implement our must verify email.

21
00:01:09,060 --> 00:01:15,570
OK, so if you use that mouse very famille, then our this option will be work and then also use as

22
00:01:15,570 --> 00:01:16,500
a notifiable.

23
00:01:16,510 --> 00:01:18,890
So now first of all, open that user.

24
00:01:18,900 --> 00:01:21,030
So I know here we do need this.

25
00:01:21,690 --> 00:01:23,450
I remove everything, OK?

26
00:01:23,490 --> 00:01:25,240
I remove everything from here.

27
00:01:25,860 --> 00:01:33,150
So now if you go to our model, that means that is our controller and the model and there is a default

28
00:01:33,150 --> 00:01:33,540
user.

29
00:01:33,540 --> 00:01:33,840
Right.

30
00:01:34,530 --> 00:01:40,560
The user herea if you go and here you can see they have already actually added that mouse to verify

31
00:01:40,560 --> 00:01:41,220
email.

32
00:01:41,250 --> 00:01:45,600
That means there is a possibility famille that is the ultimate digable and the notifiable.

33
00:01:46,140 --> 00:01:50,370
Then there is no other digable that is actually authentic.

34
00:01:50,370 --> 00:01:53,900
Apple is already added, the notifiable is already added.

35
00:01:54,210 --> 00:01:57,960
So if you do not have this, you actually have to we have to actually add it.

36
00:01:57,990 --> 00:01:59,790
OK, so I have already installed it.

37
00:01:59,790 --> 00:02:02,570
So by default you will also get that same OK.

38
00:02:02,910 --> 00:02:06,360
And then after that we have to do have to use that extended out.

39
00:02:06,750 --> 00:02:12,820
Well, after that we have to use this one that the implement implement as a must verify email.

40
00:02:13,230 --> 00:02:14,400
So now I copy it.

41
00:02:14,400 --> 00:02:17,430
And then after this you can see the cloud extended.

42
00:02:17,430 --> 00:02:21,310
And after this here you have to implement your must verify email.

43
00:02:21,330 --> 00:02:23,090
So that is a must verify email.

44
00:02:23,550 --> 00:02:24,960
So make sure you add it.

45
00:02:24,960 --> 00:02:32,990
And also here is an instruction for use that notifiable I have or by default actually use that notifiable.

46
00:02:33,000 --> 00:02:34,680
So here you don't need to do anything.

47
00:02:35,110 --> 00:02:37,970
OK, so here we successfully updated that part.

48
00:02:37,980 --> 00:02:39,600
Now I just click and save all.

49
00:02:39,750 --> 00:02:43,080
And now after that hour, we have to do that.

50
00:02:43,080 --> 00:02:49,360
Is also the result that the person of the PSU Mom Addison magnate's I have already migrated my file,

51
00:02:49,380 --> 00:02:51,120
so you don't need to do anything.

52
00:02:51,570 --> 00:02:53,280
And that is one of the root.

53
00:02:53,310 --> 00:02:54,450
OK, so these are out.

54
00:02:54,450 --> 00:02:57,100
We have to do we have to add in our webroot area.

55
00:02:57,210 --> 00:02:58,470
So now I copy it.

56
00:02:58,920 --> 00:03:05,850
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

57
00:03:05,850 --> 00:03:11,140
this, I want to add this, OK, that this out there is a default out you have to add.

58
00:03:11,610 --> 00:03:16,740
So I simply add this part on here and now I click as I save all perfect.

59
00:03:16,740 --> 00:03:18,000
So that's all we have to do.

60
00:03:18,000 --> 00:03:21,540
And also in B file, I have already declared that part.

61
00:03:21,810 --> 00:03:24,330
I have already updated our mail option.

62
00:03:24,600 --> 00:03:28,440
I have put that as a military username password.

63
00:03:28,440 --> 00:03:29,970
And there is our form address.

64
00:03:29,970 --> 00:03:30,360
Right.

65
00:03:30,750 --> 00:03:32,010
So that's all you have to do.

66
00:03:32,610 --> 00:03:35,520
Now, let's check this out if you now go to your site.

67
00:03:35,790 --> 00:03:37,070
So I don't need this.

68
00:03:37,740 --> 00:03:43,110
So now if you go to your site and now here I want to refresh it.

69
00:03:44,150 --> 00:03:49,370
And refresh it, so our every e-mail, that means if you go to our database into the database I did

70
00:03:49,370 --> 00:03:53,120
and actually verified animal rights and I went to the logging without this email.

71
00:03:53,870 --> 00:04:00,800
So now if you put your email address and the password, I have put the password to do me one, two,

72
00:04:00,800 --> 00:04:02,010
three, four, five.

73
00:04:02,030 --> 00:04:03,410
So I have already said it.

74
00:04:03,410 --> 00:04:06,570
And I was actually doing one, two, three, four, five as a log in.

75
00:04:07,280 --> 00:04:12,190
So now here you can see is showing is a verification that same is not defined.

76
00:04:12,290 --> 00:04:20,780
That means here I didn't actually and I believe if you go to our as I told you before, if you go to

77
00:04:20,780 --> 00:04:24,200
our there is a config into the config.

78
00:04:24,200 --> 00:04:29,630
If you go to that as a unfortified and with the Fortify here, you can see there is a features for the

79
00:04:29,630 --> 00:04:30,990
email verification.

80
00:04:31,370 --> 00:04:35,640
So here I didn't and I believe so make that show you and I will this version.

81
00:04:35,690 --> 00:04:41,960
OK, so now I and I believe that means right now signable for this project as the email verification

82
00:04:42,620 --> 00:04:43,670
as a Savol.

83
00:04:44,130 --> 00:04:45,860
So now I want to check it again.

84
00:04:46,540 --> 00:04:47,420
Go back.

85
00:04:47,570 --> 00:04:50,040
OK, Highclere, go back and refresh it.

86
00:04:50,990 --> 00:04:52,700
So right now I'm already logged in.

87
00:04:53,930 --> 00:04:59,090
So here you can see, friend, now it's actually displayed this so on, like I show you, there's a

88
00:04:59,090 --> 00:05:01,520
log out and now you log in again.

89
00:05:01,830 --> 00:05:07,640
And now if you put your appropriate email address and the password, if you go here, if you refresh

90
00:05:07,640 --> 00:05:09,260
it, you can see it's not verified.

91
00:05:09,650 --> 00:05:16,200
So now if you put your appropriate email address and the password in you on duty for five.

92
00:05:16,220 --> 00:05:17,960
And now if you click is a login.

93
00:05:19,240 --> 00:05:24,860
Yes, you can see right now it's actually asking you to thanks for signing up before getting it started.

94
00:05:24,880 --> 00:05:29,680
Could you verify your email address by clicking this link just emailed to you?

95
00:05:29,920 --> 00:05:34,790
OK, and if you didn't receive an email, you will gladly send you another.

96
00:05:35,230 --> 00:05:36,910
So that is the reset link.

97
00:05:36,910 --> 00:05:42,910
So now to learn to verify this email address, if you click the recent verification email here.

98
00:05:47,680 --> 00:05:53,910
Nokia's friend is now suing, is a new verification link, has been sent to your email address to provide

99
00:05:53,920 --> 00:05:55,300
it during registration.

100
00:05:55,540 --> 00:06:01,480
OK, that means right now, if you go to you again, e-mail tap and you can see that an internal email

101
00:06:01,660 --> 00:06:08,740
comes up as a verified email address to specific this email address right now, if you open it so you

102
00:06:08,740 --> 00:06:11,500
can see for now, swinger's us verify your email.

103
00:06:11,740 --> 00:06:16,060
OK, so here there is a please check this button below to verify your email address.

104
00:06:16,090 --> 00:06:21,670
Now, if you click as a verify email address, then it should be redirected to your dashboard directly.

105
00:06:21,670 --> 00:06:26,660
And also showing as a verified as a one, that means that one user data.

106
00:06:26,980 --> 00:06:29,070
So this email is not verified.

107
00:06:29,590 --> 00:06:32,620
OK, and also if you check your database right now.

108
00:06:32,650 --> 00:06:35,130
So before that, all is actually now if you can get the browser.

109
00:06:35,230 --> 00:06:35,710
Yes.

110
00:06:35,710 --> 00:06:38,140
You can see for now that is actually the verified.

111
00:06:38,140 --> 00:06:41,960
And when this actually verified, this also display this current date.

112
00:06:42,400 --> 00:06:44,170
So that is the process.

113
00:06:44,170 --> 00:06:49,060
If you want to add the verification email for your site, how can do that work?

114
00:06:49,070 --> 00:06:51,160
Friend, I hope is very much clear to you.

115
00:06:51,440 --> 00:06:56,050
So make sure you updated that verification, that email verification.

116
00:06:56,050 --> 00:07:03,130
You have that military what exactly this verification mail will be retained and then indeed the user,

117
00:07:03,700 --> 00:07:09,720
the user area here, you have to implement that Mosed verification email and also you have to add that

118
00:07:09,730 --> 00:07:10,090
out.

119
00:07:10,120 --> 00:07:11,370
So that is also the fallout.

120
00:07:11,410 --> 00:07:15,310
You can get that things from to the official Web site.

121
00:07:15,460 --> 00:07:18,970
OK, so here you will get that things from here.

122
00:07:18,980 --> 00:07:20,260
So that is all the process.

123
00:07:20,650 --> 00:07:24,670
Sovereign documentation is very much important, but everything is on here.

124
00:07:24,670 --> 00:07:27,310
But a lot of this can become very confused about it.

125
00:07:27,340 --> 00:07:33,550
OK, so that is the process, I hope, and it's not very much clear to you how can verify your email

126
00:07:33,550 --> 00:07:34,040
address.

127
00:07:34,210 --> 00:07:35,830
So thanks for watching.

128
00:07:35,870 --> 00:07:37,690
I'll see you in the next video.
