URL:
https://github.com/freeipa/freeipa/pull/1582
Author: flo-renaud
Title: #1582: User must not be able to delete his last active otp token
Action: opened
PR body:
"""
Fix and unit test for the issue. When an OTP token is the last active token, the user
should not be allowed to delete its token if 'otp' is the only allowed
authentication method.
Fixes:
https://pagure.io/freeipa/issue/7012
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1582/head:pr1582
git checkout pr1582