β prev | next β
EverythingsCrypto 2021-05-15 21:31:26
https://discord.gg/bvDF987We3
Discord – A New Way to Chat with Friends & Communities –
DiscordDiscord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
2021-05-15 21:31:48
YOUCODEWORLD 2021-05-15 21:30:54
where are you login logic? and What’s with Jet now?
Login is working successfully
2021-05-15 21:32:03
simon_an 2021-05-15 21:31:25
Is authentication working?
Yes perfectly
YOUCODEWORLD 2021-05-15 21:32:10
2021-05-15 21:31:48
Login is working successfully
Where the login logic?
YOUCODEWORLD 2021-05-15 21:32:24
in Event?
EverythingsCrypto 2021-05-15 21:32:29
https://discord.gg/bvDF987We3
Don’t miss this Airdrop now, it a now in a live time opportunity
Discord – A New Way to Chat with Friends & Communities –
DiscordDiscord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
2021-05-15 21:32:37
YOUCODEWORLD 2021-05-15 21:32:10
Where the login logic?
Login using the Jetstream controller
YOUCODEWORLD 2021-05-15 21:32:48
…..
simon_an 2021-05-15 21:34:39
2021-05-15 21:32:03
Yes perfectly
Then redirecting should not be a problem. Just do
return redirect(‘/your/dashboard/route’);
That’s if I understood you well.
YOUCODEWORLD 2021-05-15 21:35:14
simon_an 2021-05-15 21:34:39
Then redirecting should not be a problem. Just do
return redirect(‘/your/dashboard/route’);
That’s if I understood you well.
there no include any about jet.
2021-05-15 21:35:28
simon_an 2021-05-15 21:34:39
Then redirecting should not be a problem. Just do
return redirect(‘/your/dashboard/route’);
That’s if I understood you well.
It had middleware
2021-05-15 21:35:42
I set into 403 forbidden
2021-05-15 21:35:52
Admin and user
2021-05-15 21:36:22
Any way thank you for your time π
YOUCODEWORLD 2021-05-15 21:38:31
2021-05-15 21:35:52
Admin and user
If you use Jet itβs very easy. you some logic write in app/Actions/Fortify/CreateNewUser.php file.
simon_an 2021-05-15 21:38:56
And you don’t have to do
return redirect() – >back()…
Just do
return back()…
YOUCODEWORLD 2021-05-15 21:40:25
2021-05-15 21:35:52
Admin and user
If you want add more then field can add here , the fortify give you magic result (login, redirect and all about auth)
YOUCODEWORLD 2021-05-15 21:40:44
YOUCODEWORLD 2021-05-15 21:40:57
app/Actions/Fortify/CreateNewUser.php
YOUCODEWORLD 2021-05-15 21:43:03
Change redirect url in app/Providers/RouteServiceProvider.php HOME const
PoojaExperts 2021-05-15 21:44:40
laravel expert
christ 2021-05-15 21:46:53
EverythingsCrypto 2021-05-15 21:32:29
https://discord.gg/bvDF987We3
Don’t miss this Airdrop now, it a now in a live time opportunity
Don’t have discord for laravel ?
Nelly A 2021-05-15 21:53:06
christ 2021-05-15 21:46:53
Don’t have discord for laravel ?
I was checking this today and I didn’t find any but it would be excellent if one existed
Nelly A 2021-05-15 21:56:29
I’m working on Laravel 7 and I’m having trouble coding a scheduled softdeletes. I’ve created a command, did the necessary in the kernel.php and filled my function handle and yet, no luck…
Nelly A 2021-05-15 21:57:09
Nelly A 2021-05-15 21:57:09
Siberfx 2021-05-15 22:01:04
why do you use str to time ? π use directly now()->subYears(3)
Siberfx 2021-05-15 22:02:55
also dont need the foreach there.
Siberfx 2021-05-15 22:07:39
only in model define
protected $dates = [ ‘last_login_at’] ;
then you can use it like;
Users::whereDate(‘last_login_at’, ‘>’, now()->subYears(3))->delete();
Siberfx 2021-05-15 22:11:32
well actually I never add such logics into a schedule, just do a scope who filters you the ones older than 3 years, then delete
Nelly A 2021-05-15 22:17:38
Thank you for your reply but it needs to be automated as I won’t be a daily administrator for that website
Siberfx 2021-05-15 22:23:29
I mean, add the logic to filter data through model, deleting still will be in schedule
Nelly A 2021-05-15 22:26:56
Ok π I’m still a noob… Super Junior π
thanks for your help
flyingdragons 2021-05-16 08:32:41
favourebrusi 2021-05-15 11:44:04
I want to create notification alert that will notify the admin of expired products, I need help with the code
If your speaking of products then you might be maintaining the stocks details too like when the stock came and what’s the count of stock remaining.
Along with the stock batch use expiry_date and run the cronjob every x minutes or x hours to check the expiry of the products and notify your admin.
You can use Laravel Command
Tanish Singh 2021-05-16 10:06:32
Hey everyone! Anyone know how to get paid templates for free?
β prev | next β