diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-10-03 20:24:33 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-10-03 20:24:33 +0200 |
commit | a3f68412d463fb0eba86f9946cad1269591b773b (patch) | |
tree | a14b89256b994116889b7a96a9898b9bf9fe89ac | |
parent | b21d1f85482a25f269821e284355bee70d015757 (diff) |
Fix login.
-rwxr-xr-x | www/login.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/login.pl b/www/login.pl index 852f57c..9e0467e 100755 --- a/www/login.pl +++ b/www/login.pl @@ -61,7 +61,7 @@ while (my $cgi = new CGI::Fast) { my $email = $cgi->param('email') or die "No email address provided"; my $password = $cgi->param('password') or die "Empty password"; - for my $user ([email_users($email)]) { + for my $user (email_users($email)) { #say STDERR "Trying user: $user"; if (check_password($user, $password)) { $session->param('user', $user); |