콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1870 화면

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
5404
1
9월 22
4030
2
7월 22
2540
1
6월 22
3047
0
4월 22
1924