Replies: 1 comment
-
|
Did you try this plugin? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Package
Other
Package Version
v3.3.45
How can we help you?
Hi,
I have successfully create a CustomLogin.php, now I want to implement Cloudflair Turnstile, the custom login shows but neither the Turnstile, what did I miss?
cat app/Filament/Pages/CustomLogin.php
``<?php
namespace App\Filament\Pages;
use Filament\Facades\Filament;
use Filament\Pages\Auth\Login;
use Filament\Forms\Components\Component;
use Filament\Forms\Components\TextInput;
use Illuminate\Contracts\Support\Htmlable;
use Coderflex\FilamentTurnstile\Forms\Components\Turnstile;
use Illuminate\Support\Facades\Validator;
class CustomLogin extends Login
{
public function mount(): void
{
parent::mount();
if (Filament::auth()->check()) {
redirect()->intended(Filament::getUrl());
}
}
[root@iZk1a4b5t4i4aece00p99zZ ptdigital]#
Beta Was this translation helpful? Give feedback.
All reactions