[vhffs-dev] [2221] allow previously validated users to manage their user mail account even if they left all groups |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
- To: vhffs-dev@xxxxxxxxx
- Subject: [vhffs-dev] [2221] allow previously validated users to manage their user mail account even if they left all groups
- From: subversion@xxxxxxxxxxxxx
- Date: Thu, 17 Jan 2013 21:40:05 +0100
Revision: 2221
Author: gradator
Date: 2013-01-17 21:40:05 +0100 (Thu, 17 Jan 2013)
Log Message:
-----------
allow previously validated users to manage their user mail account even if they left all groups
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-12-30 17:27:31 UTC (rev 2220)
+++ trunk/vhffs-api/src/Vhffs/Services/MailUser.pm 2013-01-17 20:40:05 UTC (rev 2221)
@@ -64,7 +64,7 @@
# Fetch only the localpart we need
my $lp = $mail->fetch_localpart( $user->get_username );
- return unless( not $config->{groupneeded} or $user->have_activegroups > 0 or defined $lp );
+ return unless( not $config->{groupneeded} or $user->get_validated or defined $lp );
my $this = {};
$this->{vhffs} = $vhffs;