1
00:00:00,120 --> 00:00:01,770
Hello, friend, welcome back.

2
00:00:02,070 --> 00:00:07,380
In a previous video, we successfully displayed that message, option writes, How can we spread that

3
00:00:07,380 --> 00:00:07,980
message?

4
00:00:07,980 --> 00:00:10,770
I think is very much clear to you right now.

5
00:00:10,780 --> 00:00:11,600
We don't need this.

6
00:00:11,940 --> 00:00:17,610
So in this video and discussion about our distributor register option in the reception area, that is

7
00:00:17,610 --> 00:00:23,380
our names and this name will be as a username, as I told your friend when you actually logged in.

8
00:00:24,060 --> 00:00:26,100
So right now we are using the default one.

9
00:00:26,100 --> 00:00:26,450
Right.

10
00:00:26,460 --> 00:00:28,410
So here, that is easy learning.

11
00:00:28,410 --> 00:00:29,700
I just simply logged in.

12
00:00:30,000 --> 00:00:36,600
If you go to that user and read the user area, as I told you before, actually providing into the user

13
00:00:36,750 --> 00:00:40,410
one of the table, there is a default on the table for the admin.

14
00:00:40,710 --> 00:00:46,040
If the user table the username that the password, the first name, last name and the email address.

15
00:00:46,350 --> 00:00:48,480
So that's all actually the default feel.

16
00:00:48,630 --> 00:00:54,780
OK, so here we have to also make that feel as if our user name failed and that will be our email and

17
00:00:54,780 --> 00:00:57,070
that will be the password and the password.

18
00:00:57,090 --> 00:01:02,590
OK, so that no, I actually I have to do I have to use it to make sure you added.

19
00:01:02,720 --> 00:01:09,300
Right now I just simply log out from here and now to work with all this register paste into the register

20
00:01:09,540 --> 00:01:10,590
if you want to work.

21
00:01:10,590 --> 00:01:17,880
First of all, I just simply clean everything then it's a bit better, OK, just simply clean everything

22
00:01:17,880 --> 00:01:18,570
from here.

23
00:01:19,710 --> 00:01:23,070
So now, first of all, here we have to do we have to work for the register.

24
00:01:23,070 --> 00:01:29,190
If you go to the URL in the other area, there is a registry station that is the views I have created

25
00:01:29,190 --> 00:01:33,060
that our function name as our registration.

26
00:01:33,060 --> 00:01:33,350
Right.

27
00:01:33,660 --> 00:01:36,440
If you go to our view into the area.

28
00:01:36,660 --> 00:01:38,430
So that is our auto registration.

29
00:01:38,440 --> 00:01:42,870
So now we have to do do we have to work on here before doing this?

30
00:01:43,020 --> 00:01:46,310
We have to also open our template.

31
00:01:46,410 --> 00:01:50,190
That means in our authentication that is already the station tablet.

32
00:01:50,640 --> 00:01:54,300
So that is different than our I already said that some of the field.

33
00:01:54,900 --> 00:02:01,570
So our filename or filename here, there is a name that is email, there is a password and that is our

34
00:02:01,570 --> 00:02:02,700
account password.

35
00:02:02,700 --> 00:02:03,090
Right.

36
00:02:03,330 --> 00:02:05,630
And then our registration button.

37
00:02:06,000 --> 00:02:09,980
So if you want to change that name, you can change it rather than if you want to make the things as

38
00:02:09,990 --> 00:02:12,090
user name, you can use that user name.

39
00:02:12,090 --> 00:02:13,840
OK, is to look OK.

40
00:02:14,370 --> 00:02:20,580
The idea ID actually don't need it, but I don't want to make you confused so there is no permission

41
00:02:20,580 --> 00:02:21,360
for the ID.

42
00:02:21,660 --> 00:02:26,810
OK, just simply remove that ID and then that is your placeholder right.

43
00:02:26,910 --> 00:02:27,410
Perfect.

44
00:02:28,020 --> 00:02:32,650
So also as I told you, when you click on the registration, that means when you click the recession

45
00:02:32,700 --> 00:02:33,920
button automatically.

46
00:02:33,980 --> 00:02:39,930
So we go to our this from action area into the action area, you can actually add our D out.

47
00:02:40,230 --> 00:02:44,190
That means you automatically should be rejected or out area that is this out.

48
00:02:44,190 --> 00:02:47,850
OK, so if you want to use that, you want a name, you can use it.

49
00:02:48,180 --> 00:02:52,110
That means here you have to do it, then you have to pull some of that you are OK.

50
00:02:52,290 --> 00:02:56,280
So here you have to put that you are ill and then you have to put that out.

51
00:02:56,640 --> 00:02:58,800
That means what exactly you want to pass?

52
00:02:58,800 --> 00:03:02,040
I want to pass it in our registration, in our orchestra method.

53
00:03:02,520 --> 00:03:03,690
So here you have to do it.

54
00:03:03,690 --> 00:03:09,300
You have to actually pass it, OK, rather than if you don't if you make the things the empty automatically,

55
00:03:09,300 --> 00:03:11,910
it will be the key to our this method area.

56
00:03:12,270 --> 00:03:15,270
So here, if you want to add it, you can add it to the new Strelley.

57
00:03:15,270 --> 00:03:22,890
OK, so also here added that I see a sort of token and also that is our password and the password and

58
00:03:23,220 --> 00:03:25,770
password and confirm password should be the match.

59
00:03:25,770 --> 00:03:26,120
Right.

60
00:03:26,130 --> 00:03:31,560
So one of the things we'll put in our password area and first of all, you will be checking the password

61
00:03:31,560 --> 00:03:34,650
and the password feel that this input feel is the same.

62
00:03:34,650 --> 00:03:35,340
It are not.

63
00:03:36,150 --> 00:03:38,370
So I have total supporter validation.

64
00:03:38,370 --> 00:03:43,230
So if you want to add that validation and also if you want to show some of the message and what exactly

65
00:03:43,230 --> 00:03:50,460
did in a four our locking in the locking area, I added one of the messages for you, this message that

66
00:03:50,670 --> 00:03:51,870
I just simply copy it.

67
00:03:52,620 --> 00:03:59,910
And now registration, uh, after that, OK, after that I want to do and actually visible it on here.

68
00:03:59,970 --> 00:04:05,310
I should be sure some of the message for an hour, all the validation messages should be visible.

69
00:04:05,310 --> 00:04:09,510
OK, so I just simply add that our message position on here.

70
00:04:09,810 --> 00:04:10,320
Perfect.

71
00:04:10,740 --> 00:04:14,010
So now we have to do the same things that we did for Aulaqi.

72
00:04:14,020 --> 00:04:16,980
Go to our view and that is our registration.

73
00:04:17,100 --> 00:04:20,490
That means in the registration function area.

74
00:04:20,490 --> 00:04:22,890
First of all, we have to add all the starfield.

75
00:04:23,100 --> 00:04:23,430
Right?

76
00:04:23,670 --> 00:04:29,820
So first of all, I want to do want to put on the condition as a condition, if our request, if this

77
00:04:30,030 --> 00:04:35,670
is my thought with this method, I want to do and that is actually post or not.

78
00:04:35,670 --> 00:04:38,090
So I just simply, first of all, want to check it.

79
00:04:38,100 --> 00:04:38,490
Right.

80
00:04:38,970 --> 00:04:43,380
So first of all, here, I want to check if that request is posted or not.

81
00:04:43,380 --> 00:04:44,280
What is the request?

82
00:04:44,280 --> 00:04:45,960
I pass from our register.

83
00:04:46,410 --> 00:04:48,180
So first of all, I want to check it, OK?

84
00:04:48,480 --> 00:04:51,780
And then here we have to do we have to put all the dog name.

85
00:04:51,780 --> 00:04:53,610
So I just name it as a username.

86
00:04:54,150 --> 00:04:55,680
Sorry, username.

87
00:04:55,680 --> 00:04:56,710
I needed the username.

88
00:04:56,710 --> 00:04:58,800
Maybe I should be just like the same.

89
00:04:58,800 --> 00:04:59,700
The request.

90
00:05:00,260 --> 00:05:05,630
That all the polls, Seacrest and the political Australia here, we have to add our full name, that

91
00:05:05,630 --> 00:05:07,410
means our pool stickiest field name.

92
00:05:07,940 --> 00:05:10,850
So from here, I pass that name as a name.

93
00:05:10,850 --> 00:05:11,150
Right.

94
00:05:11,630 --> 00:05:13,520
So now here you can actually use that.

95
00:05:13,520 --> 00:05:13,880
Sorry.

96
00:05:14,330 --> 00:05:15,580
Here you can use that name.

97
00:05:15,590 --> 00:05:19,610
So if you want to change it, if you want to make that into the user name, you have to do have to put

98
00:05:19,610 --> 00:05:21,230
that our name on here.

99
00:05:21,740 --> 00:05:27,830
So right now there are the multiple field, but I just copied suits will be as a email

100
00:05:30,290 --> 00:05:33,890
email and then it'll be as a password.

101
00:05:35,300 --> 00:05:42,600
And then I make that thing another one that will be an email password and the password.

102
00:05:42,890 --> 00:05:45,290
So just name it as a password.

103
00:05:45,350 --> 00:05:50,180
Also here we have to pass that confirm password that will be as a password.

104
00:05:50,180 --> 00:05:52,230
That is actually our full name as email.

105
00:05:52,460 --> 00:05:52,840
Right.

106
00:05:53,540 --> 00:05:58,820
So there is a password name and then email and the name perfect.

107
00:05:58,830 --> 00:06:00,950
So I just simply added all the Darfield.

108
00:06:01,250 --> 00:06:03,740
So here, first of all, I want to do and actually check it.

109
00:06:03,740 --> 00:06:08,300
First of all, I want to check it out this password and confirm possibly the same.

110
00:06:08,300 --> 00:06:09,710
It not lots of other reasons here.

111
00:06:09,710 --> 00:06:17,420
I want to put you on the bottom of the condition of the if condition, if our password if our password

112
00:06:17,420 --> 00:06:20,260
is equal, equal our confirmed password.

113
00:06:20,930 --> 00:06:24,630
So there is no confirmed password when if so, this is the same.

114
00:06:24,800 --> 00:06:27,380
OK, when it will be same then it'll be pened.

115
00:06:28,160 --> 00:06:30,930
That is here should be lose all that action actually.

116
00:06:31,280 --> 00:06:33,260
So right now and to check it first.

117
00:06:33,500 --> 00:06:36,660
OK, I want to check it like it shall be a display.

118
00:06:36,690 --> 00:06:45,230
Some of the message I write to them is that went into the L.A. ls it will be do another work.

119
00:06:45,410 --> 00:06:49,500
So it's will be uh first on the message.

120
00:06:49,610 --> 00:06:52,100
So with this message I want to actually show it.

121
00:06:52,220 --> 00:06:55,180
So I have already added that message option in your register area.

122
00:06:55,730 --> 00:07:02,570
So here it be, show some of the message and it'll be as obviously error message into the error message

123
00:07:02,570 --> 00:07:06,020
area is to be sure, some of the message better here.

124
00:07:06,260 --> 00:07:07,910
I just pulled one of the message.

125
00:07:08,930 --> 00:07:15,320
I just put one of the messages will be displayed as a password and confirm password,

126
00:07:18,650 --> 00:07:21,970
not match, right.

127
00:07:22,520 --> 00:07:26,060
So when it should be match, then it should be the end of the action.

128
00:07:26,060 --> 00:07:32,620
Aless, to be sure, our this message right now, first of all, I want us to check it here.

129
00:07:32,630 --> 00:07:36,260
I want to check it because of all in the register here.

130
00:07:36,260 --> 00:07:38,720
I already added our message.

131
00:07:38,780 --> 00:07:40,170
So now it should be visible.

132
00:07:40,670 --> 00:07:41,680
So now let's check this out.

133
00:07:41,690 --> 00:07:46,700
If you don't like the Savol and now I want to do I want to refresh this space.

134
00:07:48,880 --> 00:07:56,680
And that is our user name, I put on the user name as a accorsi and put that e-mail address, the Kasie

135
00:07:56,680 --> 00:08:04,440
at the Gmail dot com sorry dot com and put the password and the password.

136
00:08:04,810 --> 00:08:10,150
So our password is taken from password is not matched nor should be displayed on the atomizers nuclear

137
00:08:10,300 --> 00:08:10,800
register.

138
00:08:11,840 --> 00:08:17,760
Yes, you can see friend now showing our message as a password and the password not match.

139
00:08:18,190 --> 00:08:18,620
Right.

140
00:08:18,640 --> 00:08:21,520
So that means our validation is not perfectly working.

141
00:08:21,850 --> 00:08:26,710
So now to do that is our way in our password and the password will be match.

142
00:08:26,710 --> 00:08:29,560
And then before instead this user.

143
00:08:29,560 --> 00:08:30,480
I want to check it.

144
00:08:30,480 --> 00:08:31,360
I want to check it.

145
00:08:31,720 --> 00:08:33,350
First of all, I also want to check it.

146
00:08:33,370 --> 00:08:35,800
That means this user is already exist.

147
00:08:35,800 --> 00:08:37,330
It are not in our database.

148
00:08:37,570 --> 00:08:39,400
And also, I want to check it out.

149
00:08:39,430 --> 00:08:41,920
This email is already existed or not.

150
00:08:42,110 --> 00:08:44,370
OK, so that was one of the matter as it exists, exist.

151
00:08:44,650 --> 00:08:46,850
So with this, we can do that work very easily.

152
00:08:47,260 --> 00:08:50,400
So right now that is our we don't need this.

153
00:08:50,740 --> 00:08:53,500
So here I want to do want to put another if condition.

154
00:08:53,610 --> 00:08:57,730
OK, so here after that, I don't want to put another live condition.

155
00:08:57,730 --> 00:09:04,540
If our with of the default on the class of the user, that is the default clause that is user.

156
00:09:04,540 --> 00:09:09,910
And with this user we have to do we have to actually first of all, filter it with this filter means

157
00:09:09,910 --> 00:09:14,920
it will be Saatchi Saatchi database that the user already existed or not.

158
00:09:14,930 --> 00:09:23,220
So for the reasons that we have to do, we have to add our user and then object, OK, with this object,

159
00:09:23,230 --> 00:09:24,250
it will be filter.

160
00:09:25,150 --> 00:09:27,580
So as I told you, this filter should be checked.

161
00:09:27,580 --> 00:09:31,380
And then shall we take our which filter shall we take our user name filled.

162
00:09:32,110 --> 00:09:34,660
That means that user name field is shall we check it.

163
00:09:35,200 --> 00:09:37,750
That means this is already existed or not.

164
00:09:37,760 --> 00:09:40,080
So that have all sort of the metadata exist.

165
00:09:40,540 --> 00:09:42,340
So I just simply added that exist.

166
00:09:43,650 --> 00:09:46,760
OK, so with this existing method it shall be checking.

167
00:09:46,930 --> 00:09:51,130
This user is already in our database subject area.

168
00:09:51,160 --> 00:09:53,620
They have already this user is existed or not.

169
00:09:53,620 --> 00:09:54,500
So shall we check it.

170
00:09:54,520 --> 00:09:57,870
So any use that user also you have to do we have to import it.

171
00:09:58,480 --> 00:10:10,120
So here, here after the from the from and Jianguo from the Django Cantrip and then the old and then

172
00:10:10,120 --> 00:10:17,470
the models from the, the models here from here we have to, we have to import our this user that is

173
00:10:17,470 --> 00:10:18,530
all user class.

174
00:10:18,550 --> 00:10:21,070
OK, so make sure you import it.

175
00:10:21,070 --> 00:10:24,460
So it's very much important because of all here we use it.

176
00:10:24,460 --> 00:10:24,690
Right.

177
00:10:25,120 --> 00:10:27,610
So with this user it shall be it.

178
00:10:27,610 --> 00:10:33,790
That means this if this user obsequiously filter the data in our database table, that means this user

179
00:10:33,800 --> 00:10:36,310
feelies already existed or not so.

180
00:10:36,310 --> 00:10:38,380
Well, it should be existing here.

181
00:10:38,380 --> 00:10:41,620
I want to show some of the message so simple.

182
00:10:41,650 --> 00:10:45,960
I want to do here in particular that position.

183
00:10:46,780 --> 00:10:52,840
So here it should be sure some of the message of the error message in the request area is to be sure

184
00:10:52,840 --> 00:10:59,190
that as the username username already exists.

185
00:11:00,580 --> 00:11:04,720
So this step of one of the messages shall be displayed OK and else.

186
00:11:04,720 --> 00:11:06,630
So I want to do another LC.

187
00:11:06,970 --> 00:11:12,970
So here there is the URLs, if so, with this else, if it shall be the same condition with this user.

188
00:11:12,970 --> 00:11:18,100
I also want to check that all our email field before, as I told you before, friend.

189
00:11:18,490 --> 00:11:23,830
So everything actually in our admin area they have on the table and there is a by default some of the

190
00:11:23,830 --> 00:11:24,700
feel right now.

191
00:11:24,700 --> 00:11:30,700
I have checked our username field and now I want to check out another feel for the email so it'll be

192
00:11:30,700 --> 00:11:36,370
just like the same that the user objects and then it should be filtered.

193
00:11:36,370 --> 00:11:37,800
That means you should be check it.

194
00:11:37,810 --> 00:11:38,230
Right.

195
00:11:38,270 --> 00:11:42,070
So shall we check it right now or before filename as email.

196
00:11:42,610 --> 00:11:44,340
So that is our email.

197
00:11:44,350 --> 00:11:44,930
Email.

198
00:11:44,950 --> 00:11:48,520
This email is what the email actually pass from here right now.

199
00:11:48,520 --> 00:11:51,170
So we should be checking that with our political study milk.

200
00:11:51,640 --> 00:11:54,160
So shall we check it so that you.

201
00:11:54,160 --> 00:11:56,100
Sorry, that will be email.

202
00:11:56,620 --> 00:11:57,540
So shall we check.

203
00:11:57,550 --> 00:11:59,710
So that will be our posted post.

204
00:11:59,740 --> 00:12:03,300
That means this post email field and that is our database field.

205
00:12:03,310 --> 00:12:05,350
OK, that means our admin database field.

206
00:12:05,470 --> 00:12:07,310
That is a follow on as email is.

207
00:12:07,330 --> 00:12:08,060
It should be checked.

208
00:12:08,060 --> 00:12:11,370
This field with this filter is existed or not.

209
00:12:11,380 --> 00:12:16,150
So I just simply added that exist again e exist method.

210
00:12:16,150 --> 00:12:21,640
So we decided this method when it should be checked, if it gets on the same, whether it will be the

211
00:12:21,640 --> 00:12:25,060
email will be the same, then it should be chosen another message.

212
00:12:26,140 --> 00:12:33,760
So here should be should another message, an email already exists I hope is very much clear to your

213
00:12:33,760 --> 00:12:40,900
friend and else else it should be said, is not actually so here in particular, that area that is URLs.

214
00:12:41,860 --> 00:12:46,560
So there is a ls ls is will be actually posteriorly.

215
00:12:46,600 --> 00:12:48,270
So we check all that our feel.

216
00:12:48,700 --> 00:12:55,450
I just take one of the variables as it user and sorry, with this user here, we have to also add that

217
00:12:55,450 --> 00:13:01,720
our user that is with this user class that is objects and with these objects now to create our news

218
00:13:01,720 --> 00:13:09,250
are so they have also another method as a user so that it will create under escort user that is on the

219
00:13:09,250 --> 00:13:10,160
default method.

220
00:13:10,180 --> 00:13:11,880
So it does create user method.

221
00:13:11,890 --> 00:13:15,550
It will be clear that users to win the war for oil have to pass all the door.

222
00:13:15,760 --> 00:13:19,000
Dolphin filename as a user name will be that user name.

223
00:13:19,540 --> 00:13:19,950
Right?

224
00:13:20,260 --> 00:13:24,660
That means that is our database, our default admin user name.

225
00:13:24,670 --> 00:13:28,630
And here I take our fin name and I just take the things with this variable here.

226
00:13:28,630 --> 00:13:29,650
I just simply passed it.

227
00:13:30,040 --> 00:13:36,160
So I also have to do I have to pass our email field and also here we have to pass our password.

228
00:13:36,160 --> 00:13:36,460
Right.

229
00:13:36,550 --> 00:13:38,560
So I just simply pass both of this field.

230
00:13:39,030 --> 00:13:40,810
I should be as username.

231
00:13:40,930 --> 00:13:46,650
Password will be our password, that is our pollsters password and also email.

232
00:13:47,500 --> 00:13:50,400
And then I just simply pass that email.

233
00:13:51,280 --> 00:13:57,610
So I just want to pass it so so be created with our this username password and that email field, all

234
00:13:57,610 --> 00:13:58,150
the data.

235
00:13:58,690 --> 00:14:01,480
And after that I want to do a totally safe that the user.

236
00:14:01,490 --> 00:14:07,220
So I just take all that our object user that is creating a new data, take the things with this variable.

237
00:14:07,480 --> 00:14:14,920
So now with this I want to do save it, OK, I just simply save this data I hope is very much clear

238
00:14:14,920 --> 00:14:15,460
to your friend.

239
00:14:15,460 --> 00:14:19,920
And when will be created that new user, what exactly it should be rejected.

240
00:14:19,930 --> 00:14:25,690
You can also pass on the redacted things from from here says we as it did before.

241
00:14:25,690 --> 00:14:27,250
There is a return direct.

242
00:14:27,820 --> 00:14:34,180
So right now I want to do and use that internally, that equality will be successfully create that new

243
00:14:34,180 --> 00:14:34,710
user.

244
00:14:35,260 --> 00:14:41,860
Uh, well, so we create that news that I want to do and to create a reference to the our specific profile

245
00:14:41,860 --> 00:14:42,170
page.

246
00:14:42,190 --> 00:14:42,490
Right.

247
00:14:42,970 --> 00:14:51,400
So there is a profile in our employee profile that is so far that I have created one of the.

248
00:14:52,520 --> 00:14:54,660
You are also that is our profile, right?

249
00:14:54,680 --> 00:14:58,660
So I want to do and parcel to the return redirect to our profile page.

250
00:14:59,270 --> 00:15:00,080
I have friend.

251
00:15:00,080 --> 00:15:03,110
Every line should be very much clear to you.

252
00:15:03,120 --> 00:15:06,560
OK, I'm aless will be a display over this message.

253
00:15:06,570 --> 00:15:09,870
So I have already checked that validation is not perfectly working.

254
00:15:10,860 --> 00:15:13,470
So, friend, that's all you have to do.

255
00:15:13,520 --> 00:15:15,900
So here now let's check this out now.

256
00:15:15,900 --> 00:15:17,810
I want to actually take it step by step.

257
00:15:18,170 --> 00:15:22,560
Not exactly, because I say, well, first of all, I want to check our server.

258
00:15:23,240 --> 00:15:24,760
Yeah, it's perfectly running.

259
00:15:24,810 --> 00:15:25,760
They have no at all.

260
00:15:26,530 --> 00:15:29,300
Now, I just refresh it better here.

261
00:15:29,840 --> 00:15:30,890
I just refresh it.

262
00:15:31,400 --> 00:15:34,430
So now I'm going to create the user name as a courtesy.

263
00:15:35,780 --> 00:15:42,380
And I just put that email address as a Khasi at the rate Gmail dot com and then put password as you

264
00:15:42,380 --> 00:15:42,710
do me.

265
00:15:42,710 --> 00:15:44,090
One, two, three, four, five.

266
00:15:44,310 --> 00:15:46,280
You do me one, two, three, four, five.

267
00:15:46,500 --> 00:15:52,460
OK, so now if you click on the register, so as it said that things on here when it'll be safe, this

268
00:15:52,460 --> 00:15:54,750
data to be done, redirect to the profile page.

269
00:15:54,770 --> 00:15:55,070
Right.

270
00:15:55,460 --> 00:16:02,030
So now let's check this out if because the register so now showing that, as you said, object has no

271
00:16:02,030 --> 00:16:04,170
attribute as it exists here.

272
00:16:04,230 --> 00:16:06,010
It a spelling mistake.

273
00:16:06,170 --> 00:16:09,490
And I understand you can see that it actually exists.

274
00:16:09,500 --> 00:16:10,850
It's not that exist.

275
00:16:10,850 --> 00:16:12,170
It should be as they exist.

276
00:16:12,800 --> 00:16:17,330
So bitter dispute that again exist, SIEV X other.

277
00:16:17,660 --> 00:16:19,850
OK, so that will be as it exists.

278
00:16:20,420 --> 00:16:21,890
That will be as it exists.

279
00:16:22,310 --> 00:16:22,850
Perfect.

280
00:16:23,680 --> 00:16:26,440
Now, let's check this out with you face and hear.

281
00:16:26,470 --> 00:16:32,100
Don't worry about it, OK, because of all that is the common part for the program.

282
00:16:32,650 --> 00:16:34,950
So I just simply take it.

283
00:16:34,960 --> 00:16:37,810
And now let's do that work again.

284
00:16:38,420 --> 00:16:39,790
I just refresh it.

285
00:16:41,740 --> 00:16:42,720
That is a refreshing.

286
00:16:42,850 --> 00:16:52,240
And now that is I want to turn to Ed Cuzzi because he at the Gmail dot com and then you do me one,

287
00:16:52,240 --> 00:16:53,380
two, three, four, five.

288
00:16:53,920 --> 00:16:55,770
You do me one, two, three, four or five.

289
00:16:56,410 --> 00:16:59,620
So no because the register yes.

290
00:16:59,620 --> 00:17:02,200
You can see it now successfully logged in.

291
00:17:02,200 --> 00:17:07,170
That means created that new user and you can see it's not perfectly adequate to a profile page.

292
00:17:07,570 --> 00:17:13,060
So here I have simply added it when this user will be created, which will be saved, this user, and

293
00:17:13,060 --> 00:17:15,350
then return to the redirect to our profile page.

294
00:17:15,400 --> 00:17:15,710
Right.

295
00:17:16,150 --> 00:17:18,790
So now you can see it's not perfectly adequate to our profile page.

296
00:17:19,150 --> 00:17:26,020
So now from here, if you click the log out and now I want to login with our admin, the easy learning

297
00:17:26,560 --> 00:17:29,080
logging, go to that user.

298
00:17:29,530 --> 00:17:30,160
Yes.

299
00:17:30,160 --> 00:17:36,670
You can see there is a new user is added as a courtesy and also the ports on the name as our email address,

300
00:17:36,670 --> 00:17:40,080
that is our email address is Icaza address Gmail dot com.

301
00:17:40,840 --> 00:17:42,820
And I hope is very much clear to you.

302
00:17:43,120 --> 00:17:48,040
So that is actually talking about that is all that our user name, password, field, first name, last

303
00:17:48,040 --> 00:17:49,130
name and the email address.

304
00:17:49,150 --> 00:17:51,750
OK, so that's all actually the default one.

305
00:17:52,120 --> 00:17:56,170
So here I have used all that, our default on this table, all that field.

306
00:17:56,350 --> 00:18:00,000
OK, so right now I have already exists on the user.

307
00:18:00,670 --> 00:18:07,480
So here you can see there is a clause, all that username that means this user name means, as I told

308
00:18:07,480 --> 00:18:13,660
you, that you use a table that is our user name and that is the same as a password and also that email.

309
00:18:13,960 --> 00:18:16,060
And also here I put some of the validation.

310
00:18:16,060 --> 00:18:17,050
I put the validation.

311
00:18:17,050 --> 00:18:22,660
If this user is already existed, then it'll be show that user name is already exist and also should

312
00:18:22,660 --> 00:18:24,340
be displayed that email the same.

313
00:18:24,340 --> 00:18:24,660
Right.

314
00:18:24,910 --> 00:18:28,960
If this email is already exist, then it should be show our this validation.

315
00:18:29,290 --> 00:18:30,390
So now let's check this out.

316
00:18:30,400 --> 00:18:32,770
I have already created one of the user name.

317
00:18:32,770 --> 00:18:36,700
That means that there are Gmail and the user name as a Karzi.

318
00:18:37,060 --> 00:18:38,410
So now I want to check it again.

319
00:18:38,590 --> 00:18:40,360
Now, if you can go to that register.

320
00:18:41,380 --> 00:18:51,610
So here I put that name as Karzai and Karzai at the rate at Gmail dot com and puts on the password as

321
00:18:51,610 --> 00:18:51,830
you do.

322
00:18:52,150 --> 00:18:53,080
Two, four, five.

323
00:18:53,320 --> 00:18:55,360
You do me one, two, three, four, five.

324
00:18:55,690 --> 00:18:57,460
So now our user name is the same.

325
00:18:57,460 --> 00:18:59,320
So it should be displayed on the outer.

326
00:18:59,320 --> 00:19:01,700
But I want to make the things as the crazy one.

327
00:19:01,750 --> 00:19:05,040
OK, first of all, I want to check that username because the register.

328
00:19:05,680 --> 00:19:11,680
Yes, you can see it's perfectly getting that our validation, that username is already exists.

329
00:19:11,680 --> 00:19:15,340
That means it's automatically redacted to our position.

330
00:19:15,670 --> 00:19:17,070
So into the filter area.

331
00:19:17,080 --> 00:19:18,700
I simply checked it out.

332
00:19:18,700 --> 00:19:24,460
Username feel that means our database username field and our requested user name is shall we check it.

333
00:19:24,700 --> 00:19:27,370
That means we should be checking our database here.

334
00:19:27,550 --> 00:19:29,110
You can see it's already getting that.

335
00:19:29,110 --> 00:19:34,900
Are you the same name that might that mean the same username for the results here.

336
00:19:34,900 --> 00:19:41,420
I just put the message at or should we display our username is already exist and same as for our email

337
00:19:41,860 --> 00:19:45,270
and that is an object you should be checked with this filter.

338
00:19:45,520 --> 00:19:47,100
Email is already existed.

339
00:19:47,100 --> 00:19:49,060
It's not in our database.

340
00:19:49,600 --> 00:19:52,330
And here you can see there is also another field as email address.

341
00:19:52,330 --> 00:19:54,670
So that is one of the filename as email.

342
00:19:54,670 --> 00:19:56,910
So you should be check our request at email.

343
00:19:57,280 --> 00:19:58,450
So now let's check this out.

344
00:19:59,020 --> 00:20:03,610
And now I want to put the name as a Karzi are OK.

345
00:20:03,610 --> 00:20:11,500
And then I put on the same name as a Karzi at the rate Gmail dot com and you do three, four, five

346
00:20:11,680 --> 00:20:13,990
and you do me one, two, three, four, five.

347
00:20:14,440 --> 00:20:17,620
And no, because the register yes.

348
00:20:17,620 --> 00:20:18,820
You can see snow perfectly.

349
00:20:18,820 --> 00:20:22,300
Also getting out this error as email already exists.

350
00:20:22,300 --> 00:20:25,780
That means our this validation is also perfectly working.

351
00:20:26,140 --> 00:20:30,370
OK, and then when everything will be the perfect then it shall be saved.

352
00:20:30,370 --> 00:20:35,640
That message should be created, that new user into the object area, and then it shall be saved.

353
00:20:36,160 --> 00:20:42,550
So, friend, we successfully complete our registration position and now if you want to logging with

354
00:20:42,550 --> 00:20:43,420
our new account.

355
00:20:43,420 --> 00:20:45,670
So from here we have to log out.

356
00:20:46,450 --> 00:20:49,840
I just simply log out and now here I refresh it.

357
00:20:49,930 --> 00:20:54,100
I want to login with the Karzai username and password.

358
00:20:54,100 --> 00:20:55,260
I put the pathology.

359
00:20:55,290 --> 00:20:55,780
You join me.

360
00:20:55,780 --> 00:20:57,010
One, two, three, four, five.

361
00:20:57,850 --> 00:20:58,930
Click the logging.

362
00:21:01,090 --> 00:21:02,620
Maybe some wrong.

363
00:21:02,620 --> 00:21:03,580
That's crazy.

364
00:21:04,120 --> 00:21:06,490
And you do me one, two, three, four, five.

365
00:21:07,150 --> 00:21:08,140
Click as a logging.

366
00:21:09,070 --> 00:21:09,460
Yeah.

367
00:21:09,490 --> 00:21:14,890
You can see so successfully logging and also showing at the logging by Ghazi Ridvan.

368
00:21:15,400 --> 00:21:17,650
So everything is perfectly working.

369
00:21:17,710 --> 00:21:18,820
Click as a log out.

370
00:21:19,450 --> 00:21:19,810
Yeah.

371
00:21:19,840 --> 00:21:23,110
You can see suffering as a successfully log out I.

372
00:21:23,390 --> 00:21:29,120
PRAnd you enjoyed very much, so don't let me step by step will go more deep.

373
00:21:29,130 --> 00:21:32,340
So one of the things you should know in general is step by step.

374
00:21:32,360 --> 00:21:35,140
I will show you everything with the live example.

375
00:21:35,510 --> 00:21:38,870
So thanks for watching and I'll see you in the next video.
