summaryrefslogtreecommitdiff
path: root/bin/admin.pl
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-02 01:41:20 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-02 01:41:20 +0000
commit158a6359100ac06b1780af7686d649d2d9b2d05d (patch)
tree438f7ae42cf87b3e2d63a2889716e17de3f65edd /bin/admin.pl
parent1e35b5e5c49aa5c297b94d4661b352f226ed00f3 (diff)
Fixing admin.pl bug
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@839 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/admin.pl')
-rwxr-xr-xbin/admin.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/admin.pl b/bin/admin.pl
index 67cb2414..a99665fb 100755
--- a/bin/admin.pl
+++ b/bin/admin.pl
@@ -941,7 +941,8 @@ sub check_password {
exit;
}
else{
- Session::session_create($root);
+ $form->{login} = 'admin';
+ Session::session_create($form);
}
}
else {