mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Allow setting any URL as redirect URL after signup
This commit is contained in:
parent
6e415fafc0
commit
eccb54ca42
5 changed files with 10 additions and 35 deletions
|
|
@ -75,8 +75,10 @@ class MemberModel extends Member
|
|||
$config->emailhost_check = $config->emailhost_check ?? 'allowed';
|
||||
$config->special_phone_number = $config->special_phone_number ?? null;
|
||||
$config->special_phone_code = $config->special_phone_code ?? null;
|
||||
$config->redirect_mid = $config->redirect_mid ?? null;
|
||||
$config->redirect_url = $config->redirect_mid ? getNotEncodedFullUrl('', 'mid', $config->redirect_mid) : null;
|
||||
if (!empty($config->redirect_mid))
|
||||
{
|
||||
$config->redirect_url = getNotEncodedFullUrl('', 'mid', $config->redirect_mid);
|
||||
}
|
||||
$config->phone_number_default_country = $config->phone_number_default_country ?? (Context::get('lang_type') === 'ko' ? 'KOR' : null);
|
||||
$config->phone_number_hide_country = $config->phone_number_hide_country ?? 'N';
|
||||
$config->phone_number_allow_duplicate = $config->phone_number_allow_duplicate ?? 'N';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue