Skip to content
This repository has been archived by the owner on Jul 2, 2020. It is now read-only.

[WIP] Login Page Restore #386

Closed
wants to merge 12 commits into from
Closed

Conversation

bexsoft
Copy link
Collaborator

@bexsoft bexsoft commented Apr 2, 2020

What does this do?

This PR fixes the mcs Login page by changing the input fields for login page, updating login API & storing the new token in the local storage #383

NOTE: This PR requires #379 to be merged first

@bexsoft bexsoft self-assigned this Apr 2, 2020
@bexsoft bexsoft changed the title Login Page Restore [WIP] Login Page Restore Apr 2, 2020
Copy link
Collaborator

@dvaldivia dvaldivia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase to master to remove all the unnecessary files

@@ -172,8 +172,9 @@ class Console extends React.Component<
.invoke("GET", `/api/v1/users/whoami`)
.then(res => {})
.catch(err => {
storage.removeItem("token");
history.push("/");
// Commented this as whoami API is not available. This is a temporal fix for token dissapearing issue
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can entirely remove this until we figure out a way to validate the session

@bexsoft bexsoft closed this Apr 2, 2020
@bexsoft bexsoft deleted the login-page-restore branch April 2, 2020 00:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants