Skip to content

Commit

Permalink
receiving return by different methods
Browse files Browse the repository at this point in the history
why not?
  • Loading branch information
saharin88 committed Nov 5, 2015
1 parent dde0af6 commit fce1e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_users/controllers/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function login()
// Populate the data array:
$data = array();

$data['return'] = base64_decode($app->input->post->get('return', '', 'BASE64'));
$data['return'] = base64_decode($input->$method->get('return', '', 'BASE64'));
$data['username'] = $input->$method->get('username', '', 'USERNAME');
$data['password'] = $input->$method->get('password', '', 'RAW');
$data['secretkey'] = $input->$method->get('secretkey', '', 'RAW');
Expand Down

0 comments on commit fce1e09

Please sign in to comment.