Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
3
-
Description
Currently there does not seem to be any REST support for checking if a Bitbucket Server user is locked out for CAPTCHA, and there does not seem to be any REST support for resetting a user's CAPTCHA lockout.
The only way to check it seems to be through a database query (see https://confluence.atlassian.com/bitbucketserverkb/how-to-identify-and-reset-all-users-blocked-by-captcha-939513152.html).
The only way to reset it seems to be either A) doing a database update then restarting Bitbucket (!!!!) ; or B) sending HTTP DELETE requests to a URL in the UI, which (evidently) requires you to have a logged-in session...which is less than ideal.
We want to be able to programmatically reset CAPTCHA-blocked users from a centralized in-house tool we use to manage the components of our delivery pipeline (which includes BitBucket).