Giter Club home page Giter Club logo

adapt-authoring-localauth's People

Contributors

taylortom avatar tomgreenfield avatar

Watchers

 avatar

adapt-authoring-localauth's Issues

Make user login/password reset case-insensitive

The email address on the login and password reset forms is case-sensitive (this is also the case in the old AT).

We get a number of support requests each month caused by users not expecting this and being unable to login.

In the past we said it was difficult to introduce this as there may already be some ATs set up with users whose email addresses would clash if we suddenly treated them as case insensitive (eg [email protected] and [email protected]).

As this is a clean slate I think this would be a really good opportunity to make the user email case insensitive.

We would need to modify:

  • Login form
  • Password reset form
  • When creating a user check that case-insensitive email is unique
  • When updating a user check that case-insensitive email is unique

No error displayed when password validation failed

Steps to recreate:

  1. Select 'add new user'
  2. Complete form with password that doesn't meet policy stipulations
  3. Click save

Expected behaviour - an error message stating 'invalid password' is displayed

Actual behaviour - nothing happens - form still displayed and editable, no error

Additional notes. The password that failed contained a # - are we supporting the usual range of 'special character's in passwords?

Improve invalid login error

Although technically correct, should be more descriptive to the specific case.

{
  "code":"UNAUTHENTICATED",
  "message":"You are not logged in"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.