balena-io / pensieve

A tool for managing and viewing structured documents, backed by the power of git
7 stars 5 forks source link

Login failure did not redirect me to the login page #257

Open mccollam opened 6 years ago

mccollam commented 6 years ago

I was unable to log into a pensieve instance but got no visible feedback about the issue, why it happened, or how to fix it.

Expected Behavior

A login failure redirects me back to the login page to fix any credential errors.

Actual Behavior

I was stuck on a page with a spinning gear and no other visible feedback. Opening the javascript console revealed that the server was returning a 401 error.

Steps to Reproduce the Problem

I'm unsure how to reproduce this; the pensieve_store key on my local storage contained "isLoggedIn": false which might possibly be related.

Deleting the pensieve_store key and refreshing caused pensieve to display the login page, after which I was able to log in successfully.

Specifications

Screenshots

image


Before submitting this issue, please check that this issue is not a duplicate. If there is another issue describing the same problem please add your information to that issue's comments.