Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Add detection of unauthorized login reason #12

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

riton
Copy link

@riton riton commented Oct 27, 2020

This is in continuation of #1

I've added more error context and handled more unauthorized login reasons.

This is still missing tests but I'd like your opinion about this new version.

riton added 4 commits October 2, 2020 19:05
* Return a freeipa.Error() with PasswordExpiredCode when
  login() failed due to password expiration
* 'falied' => 'failed'
@guilhem
Copy link

guilhem commented Dec 28, 2020

It saved me hours of work. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants