aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost/Panel/Login.pm
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-23 20:39:19 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-23 20:44:32 +0100
commit93713bfe4b48e2335826f1886fa7e684787ece01 (patch)
treea7ac08d5e89f758d29aec10bcbd802ec1f964f75 /lib/Fripost/Panel/Login.pm
parentf674299b721d26ea97fc36e7e6818a84f3d311d3 (diff)
Separate authentication-related methods in a new module Fripost::Schema::Auth.
Diffstat (limited to 'lib/Fripost/Panel/Login.pm')
-rw-r--r--lib/Fripost/Panel/Login.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fripost/Panel/Login.pm b/lib/Fripost/Panel/Login.pm
index e0ee02f..00fff72 100644
--- a/lib/Fripost/Panel/Login.pm
+++ b/lib/Fripost/Panel/Login.pm
@@ -192,7 +192,7 @@ sub error_rm : ErrorRunmode {
my $self = shift;
my $error = shift;
- if ($error =~ /^\d+$/) {
+ if ($error =~ /^4\d+$/) {
# HTTP client error.
chomp $error;
$self->header_props ( -status => $error );