Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1852 Widoki

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

Awatar
Odrzuć

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

Autor Najlepsza odpowiedź

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.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
4
mar 24
5385
1
wrz 22
4020
2
lip 22
2535
1
cze 22
3041
0
kwi 22
1909