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

Could not sign in #8

Closed
yarikbratashchuk opened this issue Jun 30, 2020 · 3 comments
Closed

Could not sign in #8

yarikbratashchuk opened this issue Jun 30, 2020 · 3 comments

Comments

@yarikbratashchuk
Copy link

yarikbratashchuk commented Jun 30, 2020

I followed the configuration readme section and set up all env vars, then I started leaf and tried to log in but couldn't, it returns status code 303, redirects to / then redirects back to /login.
Screen Shot 2020-06-30 at 10 30 41 AM

What could be the problem? If I try to pass the wrong password, it returns the error message, so the entered password is correct. I'm on macOS. Log output is empty.

@wezm
Copy link
Owner

wezm commented Jun 30, 2020

Did you set LEAF_SECURE_COOKIE=false? That's required if you're not accessing it over https.

@yarikbratashchuk
Copy link
Author

No, I missed that.
Much thanks for the help, now it works:)

@wezm
Copy link
Owner

wezm commented Jul 2, 2020

Excellent. I know that aspect is not very intuitive. I've added an issue to simplify it.

@wezm wezm closed this as completed Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants