F
Filamentβ€’3mo ago
BlackShadow

Custom register page (register link on login page)

I created a custom registration page that's by invitation only. On the login page, it currently says "or register here." I need to remove this. Should I publish the views, or is there another way to do it?
Solution:
ah so you kinda need both, I guess publishing the view to remove the link, or override the $view of the login page
Jump to solution
7 Replies
Lara Zeus
Lara Zeusβ€’3mo ago
why not disable the registration on the panel!
Lara Zeus
Lara Zeusβ€’3mo ago
No description
BlackShadow
BlackShadowβ€’3mo ago
->registration(Register::class)
->registration(Register::class)
Revers to a custom page. So people can only access this page with the token and right signature.
https://portal.m.test/customer/register?token=753846f19d36364bf306b392740e6343&signature=270a066fb9f17dccf32fab097d6b572197d045e10779f3cece8b150fdba0c6f0
https://portal.m.test/customer/register?token=753846f19d36364bf306b392740e6343&signature=270a066fb9f17dccf32fab097d6b572197d045e10779f3cece8b150fdba0c6f0
Solution
Lara Zeus
Lara Zeusβ€’3mo ago
ah so you kinda need both, I guess publishing the view to remove the link, or override the $view of the login page
BlackShadow
BlackShadowβ€’3mo ago
Yea customizing the view seems to be the "easy" way but it might cause problems later on πŸ˜…
ConnorHowell
ConnorHowellβ€’3mo ago
It's extremely hacky but you could override the register action on a custom Login class to be hidden You would be left with just the word "Or" unless you changed the translation lol
BlackShadow
BlackShadowβ€’3mo ago
I think publishing the view and just removing it is the way.
Want results from more Discord servers?
Add your server