aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost/Panel/Interface.pm
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-18 21:24:39 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-18 21:24:39 +0100
commit1f365b29f094912fa8f6e9d7fe0348148eb60ccf (patch)
tree74ab5846ce9a5003eb29084f29f768291c159a1f /lib/Fripost/Panel/Interface.pm
parentc70ea95c7e2e07cccbff9b7cce26e7bb506d1db6 (diff)
Added the possibility to chooze the SASL mechanism (GSSAPI or DIGEST-MD5).
Diffstat (limited to 'lib/Fripost/Panel/Interface.pm')
-rw-r--r--lib/Fripost/Panel/Interface.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Fripost/Panel/Interface.pm b/lib/Fripost/Panel/Interface.pm
index 18b9a48..fcd4f97 100644
--- a/lib/Fripost/Panel/Interface.pm
+++ b/lib/Fripost/Panel/Interface.pm
@@ -264,8 +264,7 @@ sub EditLocal : Runmode {
$fp = Fripost::Schema::->auth(
$u,
$q->param('oldpw'),
- ldap_uri => $CFG{ldap_uri},
- ldap_suffix => $CFG{ldap_suffix},
+ %CFG,
-die => "Wrong password (for ‘".$u."’)." );
};
$error = $@ || $fp->user->passwd(