atom
atom
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Oh, no offense taken at all! ...and yes! It definitely helped. Thank you.
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Thanks for helping me see that.
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
I missed such a tiny detail.
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Oh! I think I understand now!
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Route::get('/pending-approval', [PendingApprovalController::class, 'index'])->name('pending-approval');
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Yes.
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Kindly make me understand better, Please
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Yes.
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Yes, I've tried that. This is what my middleware "CheckedApprovedUser" looks like public function handle(Request $request, Closure $next): Response { if (Auth::user() && Auth::user()->user_approved_at) { return $next($request); } return redirect()->route('/pending-approval'); } However, I'm getting a "Route [/pending-approval] not defined.". But when I manually navigate to "localhost:8000/pending-approval", it renders my view. My view is located in the resources/views/pending-approval.blade.php
23 replies
FFilament
Created by atom on 1/12/2024 in #❓┊help
Implement Pending Approval Page For Newly Signed up Users
Any help with this please???
23 replies