[vhffs-dev] [2203] MailUser is now supporting clear/hashed password as well

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2203
Author:   gradator
Date:     2012-07-15 18:08:43 +0200 (Sun, 15 Jul 2012)
Log Message:
-----------
MailUser is now supporting clear/hashed password as well

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Services/MailUser.pm

Modified: trunk/vhffs-api/src/Vhffs/Services/MailUser.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/MailUser.pm	2012-07-15 16:01:49 UTC (rev 2202)
+++ trunk/vhffs-api/src/Vhffs/Services/MailUser.pm	2012-07-15 16:08:43 UTC (rev 2203)
@@ -133,7 +133,8 @@
 sub add_box {
 	my $self = shift;
 	my $password = shift;
-	my $box = $self->{mail}->add_box( $self->{user}->get_username, $password );
+	my $ishashed = shift;
+	my $box = $self->{mail}->add_box( $self->{user}->get_username, $password, $ishashed );
 	$self->delete_redirect if defined $box;
 	return $box;
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/