Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1715 Представления

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

Аватар
Отменить

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

Автор Лучший ответ

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.

Аватар
Отменить
Related Posts Ответы Просмотры Активность
4
мар. 24
5162
1
сент. 22
3831
2
июл. 22
2389
1
июн. 22
2915
0
апр. 22
1775