Skip to content

fix(security): show a message when password reset answers are throttled#2325

Open
Isaries wants to merge 1 commit into
WISE-Community:developfrom
Isaries:fix/student-reset-throttle
Open

fix(security): show a message when password reset answers are throttled#2325
Isaries wants to merge 1 commit into
WISE-Community:developfrom
Isaries:fix/student-reset-throttle

Conversation

@Isaries

@Isaries Isaries commented Jul 6, 2026

Copy link
Copy Markdown

Summary

This pairs with the WISE-API change that throttles the student password reset flow after several incorrect security answers. The server now returns a throttling response code. The security answer step previously ignored any unrecognized response code, so a throttled user saw a blank error with no explanation.

Changes

  • Handle the throttling response code in both the security answer step and the password change step, telling the user to wait or to ask their teacher.
  • Add a unit test that mirrors the existing incorrect answer test.

Paired change

Paired with the WISE-API change (branch fix/student-reset-throttle) that adds the throttling.

The server now temporarily blocks the student password reset flow after
several incorrect security answers to prevent brute forcing the answer.
The security answer step previously ignored any unrecognized response
code, so a throttled user saw a blank error and no explanation. Handle
the throttling response code in both the security answer and password
change steps so the user is told to wait or to ask their teacher.
@Isaries

Isaries commented Jul 6, 2026

Copy link
Copy Markdown
Author

Paired server change: WISE-Community/WISE-API#324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant