diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-23 20:39:19 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-01-23 20:44:32 +0100 |
commit | 93713bfe4b48e2335826f1886fa7e684787ece01 (patch) | |
tree | a7ac08d5e89f758d29aec10bcbd802ec1f964f75 /lib/Fripost/Panel | |
parent | f674299b721d26ea97fc36e7e6818a84f3d311d3 (diff) |
Separate authentication-related methods in a new module Fripost::Schema::Auth.
Diffstat (limited to 'lib/Fripost/Panel')
-rw-r--r-- | lib/Fripost/Panel/Login.pm | 2 |
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 ); |