mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 06:39:56 +09:00
use identifier by user id or email address when module install.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@10984 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3ff7552ef9
commit
f8cb63a526
1 changed files with 4 additions and 1 deletions
|
|
@ -59,6 +59,9 @@
|
|||
|
||||
$oModuleModel = &getModel('module');
|
||||
$args = $oModuleModel->getModuleConfig('member');
|
||||
|
||||
$isInstall = ($args === null);
|
||||
|
||||
// Set the basic information
|
||||
$args->enable_join = 'Y';
|
||||
$args->enable_openid = 'N';
|
||||
|
|
@ -82,7 +85,7 @@
|
|||
|
||||
if(!$args->signupForm || !is_array($args->signupForm))
|
||||
{
|
||||
$identifier = 'email_address';
|
||||
$identifier = $isInstall ? 'email_address' : 'user_id';
|
||||
|
||||
$args->signupForm = $oMemberAdminController->createSignupForm($identifier);
|
||||
$args->identifier = $identifier;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue