접근 권한이 걸려 있을 경우 로그인 및 회원 가입이 안되는 문제 수정

https://www.xetown.com/qna/574534
This commit is contained in:
conory 2017-04-26 16:11:43 +09:00
parent 921197699b
commit 8f26b925cf

View file

@ -244,6 +244,12 @@ class ModuleObject extends Object
}
}
// If member action, grant access for log-in, sign-up, member pages
if(preg_match('/^(disp|proc)(Member|Communication)[A-Z][a-zA-Z]+$/', $this->act))
{
$grant->access = true;
}
// Set privileges(granted) variables
$this->grant = $grant;
Context::set('grant', $grant);