summaryrefslogtreecommitdiff
path: root/lib/JWebmail/Plugin/Helper.pm
diff options
context:
space:
mode:
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) || '');