Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1724 Visualizzazioni

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
Abbandona

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

Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
4
mar 24
5178
1
set 22
3839
2
lug 22
2393
1
giu 22
2931
0
apr 22
1781