Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled login button if security is not enabled #507

Closed
tchiotludo opened this issue Nov 12, 2020 · 3 comments · Fixed by #532
Closed

Disabled login button if security is not enabled #507

tchiotludo opened this issue Nov 12, 2020 · 3 comments · Fixed by #532
Labels
bug Something isn't working ui Need an ui update

Comments

@tchiotludo
Copy link
Owner

No description provided.

@tchiotludo tchiotludo added bug Something isn't working ui Need an ui update labels Nov 12, 2020
@tchiotludo tchiotludo assigned ghost Nov 12, 2020
@ghost
Copy link

ghost commented Nov 16, 2020

@tchiotludo: The client side need some information from the server to know if the security is not enabled.

@tchiotludo
Copy link
Owner Author

We could add this on the is one on the /api/auths endpoint I think

@ghost
Copy link

ghost commented Nov 18, 2020

That endpoint is only called on the login page. We need the information before.

ghost pushed a commit that referenced this issue Dec 4, 2020
tchiotludo pushed a commit that referenced this issue Dec 22, 2020
Changed call to auths api to Routes.js.
Put result on session storage.
Use the storage data in Login Page and Header to enable login.

close #507
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ui Need an ui update
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant