overleaf/services/web/frontend/js/features
June Kelly 3288f87dbe [web] Password set/reset: reject current password (redux) (#8956)
* [web] set-password: reject same as current password

* [web] Add 'peek' operation on tokens

This allows us to improve the UX of the reset-password form,
by not invalidating the token in the case where the new
password will be rejected by validation logic.

We give up to three attempts before invalidating the token.

* [web] Add hide-on-error feature to async forms

This allows us to hide the form elements when certain
named error conditions occur.

* [web] reset-password: handle same-password rejection

We also change the implementation to use the new
peekValueFromToken API, and to expire the token explicitely
after it has been used to set the new password.

* [web] Validate OneTimeToken when loading password reset form

* [web] Rate limit GET: /user/password/set

Now that we are peeking at OneTimeToken when accessing this page,
we add rate to the GET request, matching that of the POST request.

* [web] Tidy up pug layout and mongo query for token peeking

Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com>
GitOrigin-RevId: 835205cc7c7ebe1209ee8e5b693efeb939a3056a
2022-09-28 08:06:54 +00:00
..
algolia-search
bookmarkable-tab
chat Fix Japanese input when sending a chat message (#9206) 2022-08-12 08:05:23 +00:00
clone-project-modal Merge pull request #9584 from overleaf/jel-copy-modal-wrapper 2022-09-16 08:04:49 +00:00
contact-form
cookie-banner Add cookie banner (#6627) 2022-04-05 12:17:25 +00:00
dictionary Merge pull request #8995 from overleaf/ab-dictionary-editor-split-test-badge 2022-07-26 08:04:34 +00:00
editor-navigation-toolbar Remove PDF detach split test (#9275) 2022-08-19 08:03:47 +00:00
event-tracking Add new analytics events in the new plans page and update analytics event in the current plans page (#7639) 2022-05-20 08:03:21 +00:00
fallback-image
faq-search
file-tree Add "Download" item to file tree context menu (#9190) 2022-08-15 08:03:07 +00:00
file-view Improve error message when a collaborator tries to refresh a linked file without access to the project (#8884) 2022-07-21 08:03:32 +00:00
form-helpers [web] Password set/reset: reject current password (redux) (#8956) 2022-09-28 08:06:54 +00:00
hotkeys-modal
link-helpers
mathjax
multi-submit
outline Merge pull request #8347 from overleaf/ae-outline-performance 2022-06-13 08:03:29 +00:00
pdf-preview Merge pull request #9605 from overleaf/ae-9585-remove-rich-text-survey 2022-09-15 08:04:10 +00:00
plans Change number of users in group plan to have a dynamic value in the new plans page (#8592) 2022-07-13 08:05:33 +00:00
preview Merge pull request #8511 from overleaf/em-stop-on-first-error-info-badge 2022-06-22 08:05:27 +00:00
project-list Merge pull request #9664 from overleaf/jel-copy-shared 2022-09-27 08:05:23 +00:00
settings Merge pull request #9653 from overleaf/as-fix-extract-translations-round-2 2022-09-23 08:04:40 +00:00
share-project-modal Merge pull request #9451 from overleaf/as-fix-extract-translations 2022-09-05 08:03:58 +00:00
source-editor Merge pull request #8898 from overleaf/ta-change-redundant-controls 2022-07-21 08:04:25 +00:00
utils
word-count-modal