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