Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1720 Vues

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
Ignorer

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

Auteur Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
4
mars 24
5168
1
sept. 22
3834
2
juil. 22
2390
1
juin 22
2920
0
avr. 22
1779