Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
f563471a
...
f563471a4ad1c47373c2bb3bdd0a7c3b1dcced96
authored
2003-10-11 10:59:50 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(pop3d_user): Call check_login_delay().
1 parent
f58c8f19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
pop3d/user.c
pop3d/user.c
View file @
f563471
...
...
@@ -100,6 +100,16 @@ pop3d_user (const char *arg)
return
ERR_BAD_CMD
;
}
if
(
check_login_delay
(
auth_data
->
name
))
{
syslog
(
LOG_INFO
,
_
(
"User '%s' tried to log in within the minimum allowed delay"
),
auth_data
->
name
);
state
=
AUTHORIZATION
;
mu_auth_data_free
(
auth_data
);
return
ERR_LOGIN_DELAY
;
}
if
(
auth_data
->
change_uid
)
setuid
(
auth_data
->
uid
);
...
...
Please
register
or
sign in
to post a comment