Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
e06d1ee7
Commit
e06d1ee7
authored
Mar 08, 2000
by
Niels Möller
Browse files
* src/server_password.c (do_authenticate): Use the new
USER_VERIFY_PASSWORD method. Rev: src/server_password.c:1.28
parent
1b6c5cd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server_password.c
View file @
e06d1ee7
...
...
@@ -79,7 +79,7 @@ do_authenticate(struct userauth *s,
if
(
(
password
=
parse_string_copy
(
args
))
&&
parse_eod
(
args
))
{
struct
unix_
user
*
user
;
struct
user
*
user
;
password
=
utf8_to_local
(
password
,
1
,
1
);
...
...
@@ -102,7 +102,7 @@ do_authenticate(struct userauth *s,
return
;
}
if
(
verify_password
(
user
,
password
,
1
))
if
(
USER_VERIFY_PASSWORD
(
user
,
password
,
1
))
{
COMMAND_RETURN
(
c
,
user
);
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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