summaryrefslogtreecommitdiff
path: root/lib/JWebmail
diff options
context:
space:
mode:
Diffstat (limited to 'lib/JWebmail')
-rw-r--r--lib/JWebmail/Controller/Webmail.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/JWebmail/Controller/Webmail.pm b/lib/JWebmail/Controller/Webmail.pm
index a1d25c3..6d0cc55 100644
--- a/lib/JWebmail/Controller/Webmail.pm
+++ b/lib/JWebmail/Controller/Webmail.pm
@@ -68,7 +68,7 @@ sub login {
my $uses_cram = $self->config->{session}{secure} eq 'cram';
my $v = $self->validation;
-
+
my $user = $v->required('userid')->size(4, 50)->param;
my $passwd = $v->required('password')->size(4, 50)->like(qr/^.+$/)->param; # no new-lines
my $challenge;
@@ -211,11 +211,11 @@ sub readmail {
if ($type) {
if ($mail->{head}{mime}{content_maintype} eq 'multipart') {
- my $content = first {$_->{head}{mime}{content_subtype} eq $type} $mail->{body}{parts}->@*;
+ my $content = first {$_->{head}{content_subtype} eq $type} $mail->{body}{parts}->@*;
$self->render(text => $content->{body});
}
elsif ($mail->{head}{mime}{content_subtype} eq $type) {
- $self->render(text => $mail->{body}) ;
+ $self->render(text => $mail->{body});
}
else {
$self->reply->not_found;
@@ -311,7 +311,7 @@ __END__
=encoding utf-8
-=head1 NAME
+=head1 NAME
Webmail - All functions comprising the webmail application.