mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Don't redirect back to procMemberAuthAccount after login #1428
This commit is contained in:
parent
28b3c2ef34
commit
f605786639
1 changed files with 9 additions and 3 deletions
|
|
@ -606,12 +606,18 @@ class memberView extends member
|
|||
$XE_VALIDATOR_MESSAGE = Context::get('XE_VALIDATOR_MESSAGE');
|
||||
$XE_VALIDATOR_ERROR = Context::get('XE_VALIDATOR_ERROR');
|
||||
if($XE_VALIDATOR_ERROR == -11)
|
||||
{
|
||||
Context::set('XE_VALIDATOR_MESSAGE', $XE_VALIDATOR_MESSAGE . $config->limit_day_description);
|
||||
}
|
||||
|
||||
if($XE_VALIDATOR_ERROR < -10 && $XE_VALIDATOR_ERROR > -21)
|
||||
Context::set('referer_url', getUrl(''));
|
||||
if(strpos(Context::get('referer_url'), 'procMember') || ($XE_VALIDATOR_ERROR < -10 && $XE_VALIDATOR_ERROR > -21))
|
||||
{
|
||||
Context::set('referer_url', getUrl(''));
|
||||
}
|
||||
else
|
||||
Context::set('referer_url', htmlspecialchars($_SERVER['HTTP_REFERER'], ENT_COMPAT | ENT_HTML401, 'UTF-8', false));
|
||||
{
|
||||
Context::set('referer_url', escape($_SERVER['HTTP_REFERER']));
|
||||
}
|
||||
|
||||
// Set a template file
|
||||
$this->setTemplateFile('login_form');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue