Public access panel

Hey guys. I want to make an Admin panel and an User panel. To access the admin panel user has to be logged in. Now on the User panel even if you are not logged in you can see the panel. (but can not perform actions such as form submissions etc. that'll come later). I have searched in the docs and google but could not find a solution. Is that even possible?
5 Replies
barftek
barftekOP7mo ago
Thank you very much! So dumb i did not se it myself... Will try it out rn That works, but with that comes a follow up question, how can i now make it so someone can log in from that page? e.g. the avatar in the navbar would have a placeholder and when you click you are redirected to the login page?
toeknee
toeknee7mo ago
Add a custom action in the top bar that links to a login page? called 'Login'
barftek
barftekOP7mo ago
After trying yesterday i did not succeed... 😦 I think i found a way to do it, with render hooks. Hope that'll work I did it!
toeknee
toeknee7mo ago
That's the one, well done @barftek !
Want results from more Discord servers?
Add your server