diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-04-25 17:13:23 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-04-25 17:13:23 +0200 |
commit | eae7431ea9ee9d87634b3938b5cf8b64ebdbfb5a (patch) | |
tree | 1d323e5106f5b1eb16a045592ab1bd9d22b6b0e3 /lib/JWebmail/Controller/Webmail.pm | |
parent | a97f1a5eb6649e93bfd6584ed590e37c1290755f (diff) |
corrections for last commit
- fixed tests
- added links to languages in about
- raised log level of actions in I18N2
- improved actions script
- corrected dependencies in Makefile.PL
- updated changes
Diffstat (limited to 'lib/JWebmail/Controller/Webmail.pm')
-rw-r--r-- | lib/JWebmail/Controller/Webmail.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/JWebmail/Controller/Webmail.pm b/lib/JWebmail/Controller/Webmail.pm index 3566c83..6e3ff8b 100644 --- a/lib/JWebmail/Controller/Webmail.pm +++ b/lib/JWebmail/Controller/Webmail.pm @@ -60,13 +60,13 @@ sub login { my $user = $v->required('userid')->size(4, 50)->param; my $passwd = $v->required('password')->size(4, 50)->like(qr/^.+$/)->param; # no new-lines - my $auth = $self->users->Auth(user => $user, password => $passwd); if ($v->has_error) { $self->res->code(400); return $self->render(action => 'noaction'); } + my $auth = $self->users->Auth(user => $user, password => $passwd); my $valid = _time { $self->users->verify_user($auth) } $self, 'verify user'; if ($valid) { |