Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sympa
sympa
Commits
e02945f8
Commit
e02945f8
authored
Aug 23, 2018
by
IKEDA Soji
Browse files
Additional change to #398: Log traceback to track bug.
parent
3fb13ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/Sympa/User.pm
View file @
e02945f8
...
...
@@ -645,12 +645,15 @@ sub update_global_user {
## avoid rehashing passwords that are already hash strings
if
(
$values
->
{'
password
'})
{
if
(
defined
(
hash_type
(
$values
->
{'
password
'})))
{
$log
->
syslog
('
debug
',
'
password is in %s format, not rehashing
',
hash_type
(
$values
->
{'
password
'}));
$log
->
syslog
(
'
err
',
'
Bug in logic: Password is in %s format, not rehashing
',
hash_type
(
$values
->
{'
password
'})
);
}
else
{
$values
->
{'
password
'}
=
Sympa::User::
password_fingerprint
(
$values
->
{'
password
'},
undef
);
Sympa::User::
password_fingerprint
(
$values
->
{'
password
'},
undef
);
}
}
...
...
@@ -733,12 +736,15 @@ sub add_global_user {
## avoid rehashing passwords that are already hash strings
if
(
$values
->
{'
password
'})
{
if
(
defined
(
hash_type
(
$values
->
{'
password
'})))
{
$log
->
syslog
('
debug
',
'
password is in %s format, not rehashing
',
hash_type
(
$values
->
{'
password
'}));
$log
->
syslog
(
'
err
',
'
Bug in logic. Password is in %s format, not rehashing
',
hash_type
(
$values
->
{'
password
'})
);
}
else
{
$values
->
{'
password
'}
=
Sympa::User::
password_fingerprint
(
$values
->
{'
password
'},
undef
);
Sympa::User::
password_fingerprint
(
$values
->
{'
password
'},
undef
);
}
}
...
...
Git Mirror User
@gitmirror
mentioned in commit
9f7e4d8a
·
Dec 17, 2018
mentioned in commit
9f7e4d8a
mentioned in commit 9f7e4d8aaa757b8aa00a68cb6daed5a5a631a230
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment