Modify the authentication API such that the init and cleanup functions
are always called, regardless of whether or not we are going to verify a password. This is needed for proper PAM session support.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
extern char *login_style; /* from sudo.c */
|
||||
|
||||
int
|
||||
bsdauth_init(struct passwd *pw, char **promptp, sudo_auth *auth)
|
||||
bsdauth_init(struct passwd *pw, sudo_auth *auth)
|
||||
{
|
||||
static auth_session_t *as;
|
||||
extern login_cap_t *lc; /* from sudo.c */
|
||||
|
Reference in New Issue
Block a user