1st issue
When user clicks to enable 2-factor, there is an incorrect success message. This message should not appear until after the user successful enters their verification code.
2nd issue:
After entering the verification code, the user does not get a success message within the form (when they should).
3rd issue:
Status messages appearing at the top of the screen are not needed and should be removed.
Specification for the fix:
When user clicks to enable 2-factor, they should be taken to the two factor security form. The form should have:
the description of the process
the QR code
a box to put in the code user receives
No status/success message should appear on this step.
After the user enters the security code, a success message should appear in the form.
*the message reads: "You have successfully enabled two-factor authentication"
No status messages should appear at the top of the screen.
For testing:
Double check deactivation with this change (in addition to testing the above):
When you deactivate, user sees a modal confirming deactivation (no change here just verify it still works). User should see no status message at the top of the page or in the form. The link changes to Enable two-factor authentication.
Documentation of former issues:
Steps
log in to osf
go to your user settings page
enable two factor addon and don't authorize it yet
then you will see
on top:
cilck on the active your device link will redirect you to
authorize the two factor addon
you will see the two factor filed becomes
but the warning message on top is still
and click on the link doesn't take you anywhere.
Expected
The warning message on top should be changed to "Your two factor addon has been successfully authorized".
Current behavior:
1st issue When user clicks to enable 2-factor, there is an incorrect success message. This message should not appear until after the user successful enters their verification code.
2nd issue: After entering the verification code, the user does not get a success message within the form (when they should).
3rd issue: Status messages appearing at the top of the screen are not needed and should be removed.
Specification for the fix:
For testing:
Double check deactivation with this change (in addition to testing the above): When you deactivate, user sees a modal confirming deactivation (no change here just verify it still works). User should see no status message at the top of the page or in the form. The link changes to Enable two-factor authentication.
Documentation of former issues:
Steps
and click on the link doesn't take you anywhere.
Expected The warning message on top should be changed to "Your two factor addon has been successfully authorized".