deveti
deveti
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
but non the less, thank you very very much!
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
I know .. I know that page by heart now probably hehe the only examples are with $this->hasVerifiedEmail()
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
I tried everything except remove hasVerifiedEmail 😄
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
I do not want to admit how much time I spent now on this 😄
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
😄
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
well that should be in documentation
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
oh my god, it works
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
yeah but if I just return true, then anyone can login?
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
hasAllowedEmailDomain is my custom trait where I just check domain validity
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
in my User model I have: public function canAccessPanel(Panel $panel): bool { if (!$this->hasAllowedEmailDomain($this->email)) { return false; } return $this->hasVerifiedEmail(); }
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
I tried making a middleware, but I do not know exactly where to place it .. if I place it in the authMiddleware it does not get picked up (I get 403 before) and in the regulart middleware I get too many redirects
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
I have my own Registration class where I only change validation of email as I have a config value with allowed domains and I output the error there
19 replies
FFilament
Created by deveti on 5/19/2025 in #❓┊help
Admin panel register with verifyEmail
Yes, I used it.
19 replies
FFilament
Created by deveti on 6/18/2023 in #❓┊help
Spatie Translatable
I do have another question though: I have an entity with simple relation to itself (parent_id). I am displaying it's title in the select on the form and table. Is it possible to have this using translation from current language? It only show in the first language you create the record. Any ideas?
7 replies
FFilament
Created by deveti on 6/18/2023 in #❓┊help
Spatie Translatable
Yeah it looks like I missed it
7 replies
FFilament
Created by deveti on 6/18/2023 in #❓┊help
Spatie Translatable
I think I figured this one on my own. I added language switcher to seperate action pages, but I did not add the Translatable trait. Also, each action page has different import! This could be added to the docs for less confusion @Dan Harrin
7 replies
FFilament
Created by deveti on 6/18/2023 in #❓┊help
Spatie Translatable
7 replies
FFilament
Created by deveti on 5/28/2023 in #❓┊help
Nested page (parent page)
Is there a way to exclude current id in the query?
4 replies
FFilament
Created by deveti on 5/28/2023 in #❓┊help
Nested page (parent page)
As I have only 2 levels, it means that I can only select pages, that have no id in parent_id ..
4 replies
FFilament
Created by deveti on 5/28/2023 in #❓┊help
Nested page (parent page)
Hm I think I had a wrong approach. I think I have to use options with a query like this Select::make('parent_id') ->options(Page::where('parent_id', null)->pluck('title', 'id')) ->searchable(),
4 replies