Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1729 Weergaven

Hi, can anyone tell me, 

How to allow the user to the website only after login, if they didn't log in, they should be redirected  to the login page, and once they logged in, they can see the website

I've tried auth="user" in the web module ( for testing purposes) and also tried by writing a custom module, can anyone tell answer, please

Avatar
Annuleer

Hello,
In that case, do you want the menu will be visible after login or anything else?

Auteur Beste antwoord

the menu can show, but if they click that without login, it should redirect to the login page,

but if they log in and click the website, it can go to the website page.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
mrt. 24
5183
1
sep. 22
3844
2
jul. 22
2402
1
jun. 22
2939
0
apr. 22
1783