Skip to content

Add button to regenerate 2FA codes.

Luke Picciau requested to merge (removed):regen-2fa-codes into master

What does this MR do?

Adds a button to the manage 2FA page that lets you generate a new set of codes.

Are there points in the code the reviewer needs to double check?

I have an inline style style: 'display: inline-block' in the page, not sure if this is acceptable but I can find or create a css class to replace it if needed.

Why was this MR needed?

Partially fixes #48408 (closed). The rest of this issue can't be solved without requiring everyone to reset their 2FA auth codes because they are stored hashed in the db and cannot be shown again after generation.

Screenshots (if relevant)


Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#48408 (closed)

Edited by Dimitrie Hoekstra

Merge request reports