Should we change the login screen?

Asked by Greg

The current way of loggin in is nice but seems odd to some.
Maybe we could improve it to something more modern, using ajax for example, with better error display...

Question information

Language:
English Edit question
Status:
Open
For:
PHPDevShell Edit question
Assignee:
Greg Edit question
Last query:
Last reply:
Revision history for this message
jsherk (jeff-forerunnertv) said :
#1

Whenever you login or logout (v2.8.1), it takes you to a screen that says "Processing" and three icons show up across the middle of the screen.. after a few seconds it continues on to the next screen.

I found that there is a 2 second delay added when logging in or out in the following file:
plugins/PHPDevShell/scripts/user/login-page.php
Look for occurrences of $this->navigation->redirect() function.

You can change the 2 to a 0 at the end of the two functions that are related to a successful login and a successful logout. Leave the 2 second delay alone for the other functions that relate to displaying an error, otherwise you won't see the error.

What I suggest above, removes the delay from a SUCCESSFUL login or logout only. Since these are obvious and really don't require an intermediate message to let me know I succesfully logged in or out before proceeding, I just want it to take me where I want to go!

Obviously if there is an error (incorrect credentials or missing credentials) we want to advise the user of such. The current
implementation (for login) displays the error message for 2 seconds and then returns to the login screen. If you are a slow reader or not paying attention you may miss the error message and not know why you were unable to login.

It would be better, on a login error, to immediately return to the login page (with the username and password box) and have the message display on this screen so that it does not disappear ... then you can see exactly what the issue is without it disappearing on you.

Thanks

Revision history for this message
Greg (gregfr) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask Greg for more information if necessary.

To post a message you must log in.