mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix #2044 set identifier to 'user_id' unless email is the only option
이메일 이외의 로그인 방법이 하나라도 선택되어 있다면 identifier 설정은 user_id로 고정
This commit is contained in:
parent
cc40b156da
commit
512ca07680
3 changed files with 6 additions and 5 deletions
|
|
@ -564,7 +564,7 @@ class MemberAdminController extends Member
|
|||
return new BaseObject(-1, 'msg_need_enabled_identifier');
|
||||
}
|
||||
$args->signupForm = $config->signupForm;
|
||||
$args->identifier = array_first($args->identifiers);
|
||||
$args->identifier = (count($args->identifiers) == 1 && $args->identifiers[0] == 'email_address') ? 'email_address' : 'user_id';
|
||||
|
||||
if(!$args->change_password_date)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue