Skip to content

Verify account availability after initial authentication #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

okin
Copy link
Contributor

@okin okin commented Jul 10, 2019

An user account might be able to authenticate with the given credentials but not being valid (i.e. due to time restraints or expired accounts).
This check is usually performed by calling pam_acct_mgmt.

This PR adds this behaviour.
Doing so has been suggested in #8 and #12.

@Ebenholt
Copy link

Ebenholt commented Aug 6, 2019

I havent tested the code but based on the diff, this looks like a good addition

Copy link
Owner

@FirefighterBlu3 FirefighterBlu3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did i really put a semicolon in there? cough :-D

@FirefighterBlu3 FirefighterBlu3 merged commit abe8a15 into FirefighterBlu3:master Nov 13, 2019
@FirefighterBlu3
Copy link
Owner

Thank you!

@FirefighterBlu3 FirefighterBlu3 mentioned this pull request Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants