SonjaTuro
SonjaTuro
FFilament
Created by SonjaTuro on 2/5/2024 in #❓┊help
Verification Redirect not triggering
I have created a panel with ->emailVerification() activated. I then created a user that is not verified and attempted to access the panel. Rather than being redirected to the verification page, I get a standard 404 Forbidden response. This is response is being generated by canAccessPanel on the User model. If I set the result here to true I can get into the Panel. What might be preventing the Email Verification from kicking in?
4 replies
FFilament
Created by SonjaTuro on 1/21/2024 in #❓┊help
Audio Files in Asset Pipeline
How would I go about adding audio files (mp3 for some required sound effects) to the asset pipeline of a package so that they are published along with other assets?
1 replies
FFilament
Created by SonjaTuro on 1/20/2024 in #❓┊help
Panel Authentication Route not defined
When performing artisan route:list, the following are defined:
GET|HEAD admin .................................................... filament.admin.pages.dashboard › Filament\Pages › Dashboard
GET|HEAD admin/login ....................................................... filament.admin.auth.login › Filament\Pages › Login
POST admin/logout ........................................... filament.admin.auth.logout › Filament\Http › LogoutController
GET|HEAD admin .................................................... filament.admin.pages.dashboard › Filament\Pages › Dashboard
GET|HEAD admin/login ....................................................... filament.admin.auth.login › Filament\Pages › Login
POST admin/logout ........................................... filament.admin.auth.logout › Filament\Http › LogoutController
but when visit the admin login page, the route is not defined? Route [filament.admin.auth.login] not defined.
3 replies
FFilament
Created by SonjaTuro on 1/17/2024 in #❓┊help
Editing a Relationship
I have a form that contains a related record for which I want to submit data at the same time. For this I have set up:
Forms\Components\Section::make()
->relationship('foo')
->schema([...]);
Forms\Components\Section::make()
->relationship('foo')
->schema([...]);
I need to perform a mutation to add extra data when saving, but I can't find a way to do this on the relationship. Does anyone have any suggested on how I can achieve this?
2 replies