跳至内容
菜单
此问题已终结
1 回复
1531 查看

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.

形象
丢弃
相关帖文 回复 查看 活动
4
3月 24
4886
1
9月 22
3649
2
7月 22
2210
1
6月 22
2750
0
4月 22
1718