[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3375] trunk
- Subject: SF.net SVN: ledger-smb:[3375] trunk
- From: ..hidden..
- Date: Tue, 28 Jun 2011 17:09:18 +0000
Revision: 3375
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3375&view=rev
Author: einhverfr
Date: 2011-06-28 17:09:17 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
Authentication problem caused by last commit solved
Modified Paths:
--------------
trunk/LedgerSMB/Auth.pm
trunk/scripts/login.pl
Modified: trunk/LedgerSMB/Auth.pm
===================================================================
--- trunk/LedgerSMB/Auth.pm 2011-06-28 16:14:57 UTC (rev 3374)
+++ trunk/LedgerSMB/Auth.pm 2011-06-28 17:09:17 UTC (rev 3375)
@@ -58,6 +58,8 @@
=cut
+package LedgerSMB::Auth;
+
use LedgerSMB::Sysconfig;
if ( !${LedgerSMB::Sysconfig::auth} ) {
Modified: trunk/scripts/login.pl
===================================================================
--- trunk/scripts/login.pl 2011-06-28 16:14:57 UTC (rev 3374)
+++ trunk/scripts/login.pl 2011-06-28 17:09:17 UTC (rev 3375)
@@ -1,3 +1,5 @@
+
+
package LedgerSMB::Scripts::login;
our $VERSION = 1.0;
@@ -2,3 +4,3 @@
use LedgerSMB::Locale;
-use LedgerSMB::Form; # Required for now to integrate with menu module.
+use LedgerSMB; # Required for now to integrate with menu module.
use LedgerSMB::User;
@@ -8,11 +10,6 @@
use LedgerSMB::Sysconfig;
use strict;
-# this is kind of silly, as it doesn't check if someone IS trying to log in.
-# If one looks at the login template (get_password.html), it does not post
-# to any action, so this code will always get called, thereby preventing
-# anyone from actually logging in.
-
sub __default {
my ($request) = @_;
my $locale;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.