Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1515 Ansichten

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
Verwerfen

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

Autor Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
März 24
4850
1
Sept. 22
3631
2
Juli 22
2197
1
Juni 22
2735
0
Apr. 22
1715