İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1700 Görünümler

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
Vazgeç

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

Üretici En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
4
Mar 24
5148
1
Eyl 22
3827
2
Tem 22
2382
1
Haz 22
2908
0
Nis 22
1774