diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-02-01 02:17:24 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2013-02-01 02:17:24 +0100 |
commit | 7076e66b79a98a3978b3a967fdea792b5b9d1cd5 (patch) | |
tree | 403381dbba2aa46a1126d85b032f48abb16ca89f /lib/Fripost/Panel/Login.pm | |
parent | 0dbcef539b19bd4d50d4bbc904b32f53ebdcf102 (diff) |
Make the whole configuration available through the library.
Diffstat (limited to 'lib/Fripost/Panel/Login.pm')
-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 3b2846a..1fca602 100644 --- a/lib/Fripost/Panel/Login.pm +++ b/lib/Fripost/Panel/Login.pm @@ -59,7 +59,7 @@ sub cgiapp_init { $CFG{default_realm} // return 0; $u .= '@'.$CFG{default_realm}; } - my $fp = Fripost::Schema::->auth($u, $p, %CFG, -error => undef) + my $fp = Fripost::Schema::->auth($u, $p, \%CFG, -error => undef) // return 0; $fp->done; return $u; |