コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1718 ビュー

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
5166
1
9月 22
3833
2
7月 22
2390
1
6月 22
2920
0
4月 22
1778