From f09d7d80b6313e858b0740f5016303129b471bdb Mon Sep 17 00:00:00 2001 From: TCHOUKOUAHA Boris Gautier Date: Mon, 2 Oct 2023 18:16:56 +0100 Subject: [PATCH] update user --- app/Models/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index a7ab2d8..49ebf56 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -87,7 +87,7 @@ class User extends Authenticatable implements MustVerifyEmail, FilamentUser public function canAccessFilament(): bool { - return str_ends_with($this->email, '@francophonie.org') && $this->hasVerifiedEmail(); + return str_ends_with($this->email, '@francophonie.org') || str_ends_with($this->email, '@ifdd.cm') && $this->hasVerifiedEmail(); } public function oscs()