You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get this package working I've had to do a fair amount of work
SendInviteNotification.php uses App\Mail\SendinviteMail - nowhere in the documentation does it state you need to create this.
Once mails are sent, the form itself will not work unless you add middleware to the panel, so in FilamentInviteServiceProvider.php you need to add the EncryptCookies and StartSession middleware
use Illuminate\Cookie\Middleware\EncryptCookies;
use Illuminate\Session\Middleware\StartSession;
public function panel(Panel $panel): Panel
{
return $panel
->id('invite')
->path('invite')
->middleware([
EncryptCookies::class,
StartSession::class,
])
->pages([
Accept::class,
]);
}
Once the password is set, Accept.php redirects to a hardcoded route of 'filament.admin.pages.dashboard' . Not everyone's panel will be called 'admin'. This needs to be configurable.
If I get chance I'll put together a pull request.
The text was updated successfully, but these errors were encountered:
To get this package working I've had to do a fair amount of work
SendInviteNotification.php uses App\Mail\SendinviteMail - nowhere in the documentation does it state you need to create this.
Once mails are sent, the form itself will not work unless you add middleware to the panel, so in FilamentInviteServiceProvider.php you need to add the EncryptCookies and StartSession middleware
Once the password is set, Accept.php redirects to a hardcoded route of 'filament.admin.pages.dashboard' . Not everyone's panel will be called 'admin'. This needs to be configurable.
If I get chance I'll put together a pull request.
The text was updated successfully, but these errors were encountered: