Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Allow admins to unlock users  #40788

@mrnugget

Description

@mrnugget

If a user is locked out because they ran into too many attempts, there's no way for an admin to unlock them.

That's especially a problem if email hasn't been setup on the instance and the user didn't receive a "here's how to unlock yourself" email.

I propose we add a "Unlock" button to the site-admin area in case a user is locked out that then calls this: https://github.com/sourcegraph/sourcegraph/blob/9d9e7264cfde7bc25e0489a93d90320018aad8dd/cmd/frontend/internal/auth/userpasswd/lockout.go#L173-L178

/cc @sourcegraph/iam

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions