Don't do any decoding on the password field (#163)

Fixes #162
This commit is contained in:
bendem 2022-08-18 02:44:43 +02:00 committed by GitHub
parent 43bac58990
commit d15bd2dab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ if ($_SESSION[APPCONFIG]->getValue('session', 'reCAPTCHA-enable')) {
if ($pass) {
$user = array();
$user['login'] = get_request('login');
$user['password'] = get_request('login_pass', 'POST', false, '');
$user['password'] = get_request('login_pass', 'POST', false, '', false);
if ($user['login'] && !strlen($user['password'])) {
system_message(array(