-
-
Notifications
You must be signed in to change notification settings - Fork 773
Description
Description of problem
The login experience has remained untouched for years and shows its age:
- It takes forever to load which is especially noticeable when you use the popup
- When clicking login the form sits there while the user is being logged in - the user should see some sort of spinner
- It's not responsive (issue RFC: Mobile Friendly Login, Enhance Existing or New Module #2469)
- The "keep me logged in" checkbox is below the login/cancel buttons - this should be above
- 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.