Skip to content

RFC: Improve login #2471

@donker

Description

@donker

Description of problem

The login experience has remained untouched for years and shows its age:

  1. It takes forever to load which is especially noticeable when you use the popup
  2. When clicking login the form sits there while the user is being logged in - the user should see some sort of spinner
  3. It's not responsive (issue RFC: Mobile Friendly Login, Enhance Existing or New Module #2469)
  4. The "keep me logged in" checkbox is below the login/cancel buttons - this should be above
  5. It is difficult to style/adapt given the nr of fixed classes - it should be templateable

Description of solution

To attack problems nr 1 and nr 2 we could look at preloading a login screen. The complexity is that your page may be http and you want the login to be https. But we could consider having an improved experience only for sites that implement https and then go through a web api call to log in. This would allow us to do all the user feedback at the front end which makes things simpler.

To attack 3-5 we need to look at making this templateable. The complexity is that this control is extensible and auth providers can hook in. But IMHO this shouldn't trump us moving forward to improve this. One solution I've had some luck with is the use of a razor template inside the skin folder which describes how the login panel looks including the optional components.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions