Hide credentials form after logging in
Gtonizuka opened this issue · 3 comments
Gtonizuka commented
After clicking on “save”, credentials address and password still stays there and there is no user feedback that let the user know if the login worked correctly or not. We should have a message that says "logged in correctly" and then hide that form. The user should still be able to re-open that form to log in with a different user or logout.
aquiladev commented
right now login executes each request to MythX, that is why I used button Save
for user credentials, not Login
. User has a message about wrong credentials when he presses Analyze
button.
It is possible to store JWT in local storage after the first login, it will slightly more complicated to handle
aquiladev commented