1
00:00:00,240 --> 00:00:01,020
Hello, friend.

2
00:00:01,050 --> 00:00:01,900
Welcome back.

3
00:00:02,320 --> 00:00:07,410
You know, previous video I have discussed about that, things with you, how can verified your email,

4
00:00:07,410 --> 00:00:07,780
right?

5
00:00:07,810 --> 00:00:09,540
So right now we can verify it.

6
00:00:09,540 --> 00:00:11,420
Everything is now perfectly working.

7
00:00:11,880 --> 00:00:13,920
So here we don't need this.

8
00:00:14,280 --> 00:00:15,690
That is a verify.

9
00:00:15,760 --> 00:00:19,340
There is a lot of the official site suffering in this video.

10
00:00:19,350 --> 00:00:24,710
I want to discuss about one things we do, like if you go to our call catagories or rather than the

11
00:00:24,960 --> 00:00:28,820
brand, the multiple images, every page is like here.

12
00:00:28,890 --> 00:00:31,020
If you copy it, I copy that link.

13
00:00:31,180 --> 00:00:31,390
OK.

14
00:00:31,410 --> 00:00:36,510
So if you want to use the access that our category all bassal, that is index page.

15
00:00:36,660 --> 00:00:37,260
That is all you.

16
00:00:37,260 --> 00:00:38,120
All right.

17
00:00:38,610 --> 00:00:45,360
But right now, if you click on the log out right now and log out to now, right now, if you actually

18
00:00:45,360 --> 00:00:48,440
accessed this, that means there is actually our category all.

19
00:00:48,450 --> 00:00:53,880
And after that, if they enter nonconstitutional showing some of the error, that means right now we

20
00:00:53,880 --> 00:00:59,370
can actually access our URL and they are perhaps on the profile for the wall is missing.

21
00:00:59,580 --> 00:01:02,730
So for the reasons, this is what this message is visible.

22
00:01:03,030 --> 00:01:06,030
OK, so here I want to do want to protect it.

23
00:01:06,060 --> 00:01:11,070
That means when this user will be locked out, if you want to access that the wall, you cannot able

24
00:01:11,070 --> 00:01:11,790
to access it.

25
00:01:11,790 --> 00:01:15,140
It'll be redirected to you to the logging page.

26
00:01:15,480 --> 00:01:20,130
So friend here, you don't need to do anything because in Laravel there have also one the middleware

27
00:01:20,130 --> 00:01:21,420
as a default Menelaus.

28
00:01:21,450 --> 00:01:25,170
OK, so with this option in the lower, we can actually do that work.

29
00:01:25,380 --> 00:01:28,410
OK, so here we have we have to call it like a show you.

30
00:01:28,410 --> 00:01:35,750
If you go to your dealer that means that is our configuration of that file.

31
00:01:35,760 --> 00:01:42,750
And then there is R providers, there is a mailer and if you go to that dealer and if you go to that

32
00:01:42,750 --> 00:01:48,860
our Carnel dot BHP into the candidate BHB here, you can see from that is also on the by default or

33
00:01:48,900 --> 00:01:50,000
my dealer as all.

34
00:01:51,000 --> 00:01:58,980
So that is the location in our EDP, that is our app is TDP Maryla and the authenticate that that is

35
00:01:58,980 --> 00:02:01,050
actually authenticated is working for this.

36
00:02:01,080 --> 00:02:06,310
OK, that means Hoiles because the individual will not request and return redirect to the logging page.

37
00:02:06,840 --> 00:02:09,170
So right now I want to do I want to use this.

38
00:02:09,570 --> 00:02:13,040
So here I only want to add this free function.

39
00:02:13,050 --> 00:02:14,360
So if you want to add it.

40
00:02:14,370 --> 00:02:16,750
So that is the hour you are.

41
00:02:17,430 --> 00:02:23,370
So if you go to our Web browser, out into the Web browser for the brand, so that your category, so

42
00:02:23,370 --> 00:02:24,480
that your category indexed.

43
00:02:24,600 --> 00:02:26,340
So that is our category controller.

44
00:02:26,760 --> 00:02:30,540
So now go to that, our category controller if you go.

45
00:02:31,670 --> 00:02:37,410
So that is our city controller and the category comptroller under the category comptroller.

46
00:02:37,430 --> 00:02:40,580
First of all, here, I want to do want to add one of the corners.

47
00:02:40,580 --> 00:02:47,480
Stichter, OK, that means constructor is one kind of function that is in this class will be lowered.

48
00:02:47,490 --> 00:02:50,930
That means this glass will be lowered automatically.

49
00:02:50,930 --> 00:02:56,960
Our first of all, constructor class will be run, OK, and then our list of all that matter will be

50
00:02:56,960 --> 00:02:57,620
activated.

51
00:02:58,010 --> 00:03:02,480
So here, if you do that work, I show you here you have to do we have to create this function of the

52
00:03:02,480 --> 00:03:09,320
public and then function and the function I want to do and to make it as a space and double on the line

53
00:03:09,320 --> 00:03:15,440
as a kind of step to reconstruct and into the contact area here.

54
00:03:15,440 --> 00:03:16,920
We have to do we have to create it.

55
00:03:17,480 --> 00:03:18,020
So now.

56
00:03:18,020 --> 00:03:18,440
Sorry.

57
00:03:18,590 --> 00:03:20,610
So now here I want to do to create it.

58
00:03:20,960 --> 00:03:27,440
So here you have to do you have to just simply call this the D and with this you have to add that Middler

59
00:03:30,150 --> 00:03:33,830
OK, you have to add this Middelburg which middleground to call on the call.

60
00:03:33,830 --> 00:03:37,580
As awkward as I told you, that is one of the default middler.

61
00:03:37,940 --> 00:03:43,700
That means right now when our this class that this control class will be done automatically, first

62
00:03:43,700 --> 00:03:46,220
of all this constructor method will be activated.

63
00:03:46,460 --> 00:03:49,610
OK, and after that our list of all that mattered.

64
00:03:49,610 --> 00:03:51,180
That was all that mattered.

65
00:03:51,290 --> 00:03:54,410
The Atget method, all that will be activated.

66
00:03:54,770 --> 00:04:00,860
So when it will be checked, that is when this issue with this all this will be take this user is locking

67
00:04:00,860 --> 00:04:01,630
it or not.

68
00:04:01,640 --> 00:04:08,600
So when this user will be not logging, then automatically redirected to our specific logging base.

69
00:04:08,810 --> 00:04:09,270
OK.

70
00:04:09,530 --> 00:04:15,950
So there is that our functionality audit on here, you can see so we don't really put our logging out.

71
00:04:16,370 --> 00:04:17,710
That is all the default out.

72
00:04:18,170 --> 00:04:21,770
So here I don't use it to save all.

73
00:04:21,920 --> 00:04:26,990
And now if you right now I'm not logging, but right now, if you want to access this, you are still

74
00:04:27,260 --> 00:04:28,460
looking to enter.

75
00:04:29,000 --> 00:04:34,510
Now, considering it is now redirected to you to the logging base, I hope it's very much clear to you.

76
00:04:34,790 --> 00:04:40,130
And now if you logging and after that logging, that is all category is perfect.

77
00:04:40,130 --> 00:04:40,500
Right.

78
00:04:40,730 --> 00:04:45,410
And also, if you say I want to do that work for our brand, that is all very well.

79
00:04:45,410 --> 00:04:46,250
I copy it.

80
00:04:47,000 --> 00:04:48,320
Go to the log out.

81
00:04:48,680 --> 00:04:53,570
And if you want to exit the world, click the entry because it's not showing some of the ad or sales.

82
00:04:53,600 --> 00:04:56,220
Want to do the same things for our other controller.

83
00:04:56,240 --> 00:04:58,610
I have created that is a brand controller.

84
00:04:58,610 --> 00:04:58,840
Right.

85
00:04:58,850 --> 00:05:05,260
So that I copied I copied this code and now go to another controller as a brand controller.

86
00:05:05,270 --> 00:05:08,420
So the brand controller, I also want to do the ad it.

87
00:05:09,170 --> 00:05:12,290
So first of all, after this look after this.

88
00:05:12,290 --> 00:05:16,930
I want to add this constructor and there is a Middler as Ahmedi that happened.

89
00:05:17,360 --> 00:05:22,070
So I have a because because about the things we do now can create that Middler and how that might actually

90
00:05:22,070 --> 00:05:24,730
work as a save all.

91
00:05:25,220 --> 00:05:27,230
And now if you refresh it.

92
00:05:27,860 --> 00:05:28,170
Yeah.

93
00:05:28,230 --> 00:05:33,560
You can see right now I'm not logging for the reasons you return to you to the logging base.

94
00:05:34,260 --> 00:05:41,360
OK, so now I think it's very much clear to you and also there is another one better the controller

95
00:05:41,360 --> 00:05:41,600
here.

96
00:05:41,600 --> 00:05:48,710
I didn't create anything, but I also want to do and add it in particular, that area to save all everything

97
00:05:48,710 --> 00:05:49,180
is great.

98
00:05:49,490 --> 00:05:51,320
So I hope friend is very much clear to you.

99
00:05:51,320 --> 00:05:52,640
How can I protected you?

100
00:05:52,640 --> 00:05:57,410
Also, when you log out, automatically be done redirect to the logging base.

101
00:05:57,410 --> 00:05:58,880
You cannot exelixis all that.

102
00:05:58,880 --> 00:05:59,900
Your allowed link.

103
00:06:00,050 --> 00:06:00,950
So perfect.

104
00:06:00,950 --> 00:06:04,120
So that's all for our authentication know.

105
00:06:04,190 --> 00:06:07,790
Next video on the don't update our this admin panel.

106
00:06:07,820 --> 00:06:11,430
OK, that means they have that panel so you can add some of the template.

107
00:06:11,440 --> 00:06:15,080
How can add some of the template into the funding system by step?

108
00:06:15,080 --> 00:06:17,210
I'll show you everything with a live example.

109
00:06:17,660 --> 00:06:19,130
So thanks for watching.

110
00:06:19,130 --> 00:06:20,930
I'll see you in the next video.
