mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
Issue 949 blocking login by GET Method
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10182 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bf5df1f5e3
commit
19b655793e
1 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,12 @@
|
|||
* @brief Log-in by checking user_id and password
|
||||
**/
|
||||
function procMemberLogin($user_id = null, $password = null, $keep_signed = null) {
|
||||
if(!$user_id && !$password && Context::getRequestMethod() == 'GET')
|
||||
{
|
||||
$this->setRedirectUrl(getNotEncodedUrl(''));
|
||||
return new Object(-1, 'null_user_id');
|
||||
}
|
||||
|
||||
// Variables
|
||||
if(!$user_id) $user_id = Context::get('user_id');
|
||||
$user_id = trim($user_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue