Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1712 Zobrazení

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
Zrušit

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

Autor Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
bře 24
5162
1
zář 22
3829
2
čvc 22
2389
1
čvn 22
2913
0
dub 22
1775