summaryrefslogtreecommitdiff
path: root/LedgerSMB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB.pm')
-rwxr-xr-xLedgerSMB.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm
index 7c9e9644..ce279466 100755
--- a/LedgerSMB.pm
+++ b/LedgerSMB.pm
@@ -197,11 +197,12 @@ sub new {
if (!$self->{script}) {
$self->{script} = 'login.pl';
}
- if ($self->{action} eq 'migrate_user'){
- return $self;
- }
+# if ($self->{action} eq 'migrate_user'){
+# return $self;
+# }
if ($self->{script} eq 'login.pl' &&
- ($self->{action} eq 'authenticate' || !$self->{action})){
+ ($self->{action} eq 'authenticate' || $self->{action} eq '__default'
+ || !$self->{action})){
return $self;
}
if (!$self->{company} && $self->is_run_mode('cgi', 'mod_perl')){