mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
fixed install login error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9120 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a24f3d90f7
commit
e86a4e2ed2
4 changed files with 8 additions and 7 deletions
|
|
@ -136,7 +136,7 @@
|
||||||
// Insert admin information
|
// Insert admin information
|
||||||
$oMemberAdminController->insertAdmin($admin_info);
|
$oMemberAdminController->insertAdmin($admin_info);
|
||||||
// Log-in Processing
|
// Log-in Processing
|
||||||
$output = $oMemberController->doLogin($admin_info->user_id);
|
$output = $oMemberController->doLogin($admin_info->email_address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Register denied ID(default + module name)
|
// Register denied ID(default + module name)
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$redirect_url = Context::get('redirect_url');
|
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
|
||||||
if ($output->toBool () && Context::getRequestMethod () == "POST" && $redirect_url) {
|
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'mid', Context::get('mid'), 'act', '');
|
||||||
header ("location:" . $redirect_url);
|
$this->setRedirectUrl($returnUrl);
|
||||||
}
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
<form ruleset="@login" action="./" method="post" id="fo_member_login">
|
<form ruleset="@login" action="./" method="post" id="fo_member_login">
|
||||||
<input type="hidden" name="act" value="procMemberLogin" />
|
<input type="hidden" name="act" value="procMemberLogin" />
|
||||||
|
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||||
<fieldset class="login">
|
<fieldset class="login">
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="uid">{$lang->user_id}</label></dt>
|
<dt><label for="uid">{$lang->user_id}</label></dt>
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,7 @@
|
||||||
<legend>{$lang->cmd_login}</legend>
|
<legend>{$lang->cmd_login}</legend>
|
||||||
<form id="fo_login_widget" action="./" method="post" ruleset="@login">
|
<form id="fo_login_widget" action="./" method="post" ruleset="@login">
|
||||||
<input type="hidden" name="act" value="procMemberLogin" />
|
<input type="hidden" name="act" value="procMemberLogin" />
|
||||||
<input type="hidden" name="success_return_url" value="{getUrl('act', '')}" />
|
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
|
||||||
|
|
||||||
|
|
||||||
<div class="idpwWrap">
|
<div class="idpwWrap">
|
||||||
<div class="idpw">
|
<div class="idpw">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue