From 93713bfe4b48e2335826f1886fa7e684787ece01 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 23 Jan 2013 20:39:19 +0100 Subject: Separate authentication-related methods in a new module Fripost::Schema::Auth. --- lib/Fripost/Panel/Login.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Fripost/Panel') 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 ); -- cgit v1.2.3