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

Login action gives 401 error #29

Open
czepesch opened this issue Jun 17, 2022 · 0 comments
Open

Login action gives 401 error #29

czepesch opened this issue Jun 17, 2022 · 0 comments

Comments

@czepesch
Copy link

Hi there.
Sign up is working, I can check via console that user is created, but when I'm trying to log in there is:

12:51:53 web.1  | Started POST "/users/sign_in" for ::1 at 2022-06-17 12:51:53 +0200
12:51:53 web.1  | Processing by Devise::SessionsController#create as TURBO_STREAM
12:51:53 web.1  |   Parameters: {"authenticity_token"=>"[FILTERED]", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
12:51:53 web.1  |   User Load (6.9ms)  SELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "[email protected]"], ["LIMIT", 1]]
12:51:53 web.1  | Completed 401 Unauthorized in 423ms (ActiveRecord: 97.2ms | Allocations: 4083)

Is Readme is complete? Maybe some missing steps?
Thanks.

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

1 participant