Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29099

Password validation for users tool and reset-pass makes too many queries, which results in lost keystrokes

    XMLWordPrintable

    Details

      Description

      Currently, the password validation algorithm makes a REST call for every keystroke entered by the user. If the user types quickly, this can result in lost keystrokes due to the latency of the REST call.

      Our solution to this is to track the length of the input password. If the length has not changed since the last REST call, don't make another one. By doing so, it eliminates un-necessary calls to the REST service and improves the reliability of the algorithm so that keystrokes are not lost.

      The linked PR/patch also addresses some minor JavaScript syntax errors.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                bjones86 Brian Jones
                Reporter:
                bjones86 Brian Jones
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration