diff options
Diffstat (limited to 'LedgerSMB.pm')
-rwxr-xr-x | LedgerSMB.pm | 5 |
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; } |