projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dokumentation ergänzt.
[kivitendo-erp.git]
/
SL
/
Auth.pm
diff --git
a/SL/Auth.pm
b/SL/Auth.pm
index
062a4ba
..
1d2f36f
100644
(file)
--- a/
SL/Auth.pm
+++ b/
SL/Auth.pm
@@
-97,7
+97,7
@@
sub authenticate_root {
my $is_crypted = shift;
$password = crypt $password, 'ro' if (!$password || !$is_crypted);
my $is_crypted = shift;
$password = crypt $password, 'ro' if (!$password || !$is_crypted);
- $admin_password = crypt "$self->{admin_password}", 'ro';
+
my
$admin_password = crypt "$self->{admin_password}", 'ro';
$main::lxdebug->leave_sub();
$main::lxdebug->leave_sub();
@@
-325,7
+325,7
@@
sub read_all_users {
while (my $ref = $sth->fetchrow_hashref()) {
$users{$ref->{login}} ||= { 'login' => $ref->{login}, 'id' => $ref->{id} };
while (my $ref = $sth->fetchrow_hashref()) {
$users{$ref->{login}} ||= { 'login' => $ref->{login}, 'id' => $ref->{id} };
- $users{$ref->{login}}->{$ref->{cfg_key}} = $ref->{cfg_value} if (($
cfg_key ne 'login') && ($cfg_key
ne 'id'));
+ $users{$ref->{login}}->{$ref->{cfg_key}} = $ref->{cfg_value} if (($
ref->{cfg_key} ne 'login') && ($ref->{cfg_key}
ne 'id'));
}
$sth->finish();
}
$sth->finish();