mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Only masquerade identifier config in dispMemberInfo screen
This commit is contained in:
parent
39f92673b3
commit
b01c36b792
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class MemberModel extends Member
|
|||
|
||||
// Set login config
|
||||
$config->identifiers = $config->identifiers ?? array('user_id', 'email_address');
|
||||
if (in_array('email_address', $config->identifiers) && $config->enable_confirm === 'Y')
|
||||
if (in_array('email_address', $config->identifiers) && $config->enable_confirm === 'Y' && Context::get('act') === 'dispMemberInfo')
|
||||
{
|
||||
$config->identifier = 'email_address';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue