mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Only allow non-logged-in users in procMemberResetPassword
This commit is contained in:
parent
6a308386bc
commit
4f6c05f735
1 changed files with 4 additions and 0 deletions
|
|
@ -1212,6 +1212,10 @@ class MemberController extends Member
|
|||
{
|
||||
$config = MemberModel::getMemberConfig();
|
||||
$vars = Context::getRequestVars();
|
||||
if ($this->user->member_srl)
|
||||
{
|
||||
throw new Rhymix\Framework\Exception('already_logged');
|
||||
}
|
||||
|
||||
// Check auth_key
|
||||
if (empty($vars->auth_key))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue