hospitalrun icon indicating copy to clipboard operation
hospitalrun copied to clipboard

add login message to Login page

Open Fibii opened this issue 4 years ago • 4 comments

🚀 Add feedback in Login page

Add a message in Login page that shows an error message when the user enter

  • wrong login credentials
  • the server is down, or the client app is unable to connect to the server

Motivation

if the server is down and the user credentials are correct, how will the user know what the problem is?

Example

  • if the username or password is incorrect, a message should appear/popup with "incorrect username or password"
  • if the there's no connection to the server, a message with "error: cannot connect to the server" should be show.

Fibii avatar Jul 25 '20 01:07 Fibii

@jackcmeyer @fox1t hasn't this issue already been handled?

matteovivona avatar Aug 04 '20 12:08 matteovivona

We worked on CouchDB lately and it might be broken at the moment.

fox1t avatar Aug 04 '20 12:08 fox1t

Is this still an issue?, I currently cannot login at https://staging.hospitalrun.io/login.

It shows invalid username or password. What is the username/password ?

I'm excited to see the staging backend.

rizrmd avatar Oct 05 '20 04:10 rizrmd

Is this still an issue?, I currently cannot login at https://staging.hospitalrun.io/login.

It shows invalid username or password. What is the username/password ?

I'm excited to see the staging backend.

Try in Firefox/Edge with the same username and password. Chrome/Brave seem to be failing to use the 'set-cookie' response from the CouchDb _session request's response

blestab avatar Oct 05 '20 09:10 blestab