F
Filament16mo ago
Abi

How to show form conditionally on a Standalone Action?

I am creating a Standalone action and want to show the modal form only if the user is authenticated, else redirect them to the login page. How can I do this?
2 Replies
awcodes
awcodes16mo ago
So, you want to show the action, but only redirect them if they click on it? Why not just hide it is they aren’t authenticated?
Abi
AbiOP16mo ago
lol, that was simple. I was thinking too much. thank you
Want results from more Discord servers?
Add your server