From 850b160f38bc639325f960bf6a73b83d8120f9bf Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 9 May 2022 00:53:48 +0200 Subject: fix for Helper::session_passwd return argument order --- lib/JWebmail/Plugin/Helper.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/JWebmail') 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) || ''); -- cgit v1.2.3