]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blob - pkgs/webapps/phpldapadmin/ldap-fix-password.patch
Backport msmtp patch
[perso/Immae/Config/Nix/NUR.git] / pkgs / webapps / phpldapadmin / ldap-fix-password.patch
1 diff --git a/htdocs/login.php b/htdocs/login.php
2 index 48f9e2e..298b07d 100644
3 --- a/htdocs/login.php
4 +++ b/htdocs/login.php
5 @@ -13,7 +13,7 @@ require './common.php';
6
7 $user = array();
8 $user['login'] = get_request('login');
9 -$user['password'] = get_request('login_pass');
10 +$user['password'] = get_request('login_pass','POST',false,null,false);
11
12 if ($user['login'] && ! strlen($user['password']))
13 system_message(array(