summaryrefslogtreecommitdiff
path: root/lib/JWebmail/Plugin/Helper.pm
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-09 00:53:48 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2022-05-09 00:53:48 +0200
commit850b160f38bc639325f960bf6a73b83d8120f9bf (patch)
treede8a53442fb73c256f75e97dd5b4464760ba9cac /lib/JWebmail/Plugin/Helper.pm
parent0583b0115114ba9357789d3aa153c472eb7071ab (diff)
fix for Helper::session_passwd return argument order
Diffstat (limited to 'lib/JWebmail/Plugin/Helper.pm')
-rw-r--r--lib/JWebmail/Plugin/Helper.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/JWebmail/Plugin/Helper.pm b/lib/JWebmail/Plugin/Helper.pm
index 5edb4af..86fea26 100644
--- a/lib/JWebmail/Plugin/Helper.pm
+++ b/lib/JWebmail/Plugin/Helper.pm
@@ -189,7 +189,7 @@ sub session_passwd {
else { # get
if ($secAlg eq 'cram') {
wantarray or carp "you forgot the challenge";
- return ($c->session('challenge'), $c->session(S_PASSWD));
+ return ($c->session(S_PASSWD), $c->session('challenge'));
}
elsif ($secAlg eq 's3d') {
my $pw = b64_decode($c->s3d(S_PASSWD) || '');