質問編集履歴
1
情報追加
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Deviseで正しいメールアドレスとパスワードを入れても
|
1
|
+
Deviseで正しいメールアドレスとパスワードを入れてもログインできずにリダイレクトで無限ループしてしまう
|
test
CHANGED
@@ -16,19 +16,31 @@
|
|
16
16
|
|
17
17
|
```
|
18
18
|
|
19
|
-
Started POST "/users/sign_in" for ::1 at 2019-04-28 20:
|
19
|
+
Started POST "/users/sign_in" for ::1 at 2019-04-28 20:52:37 +0900
|
20
20
|
|
21
21
|
Processing by Devise::SessionsController#create as HTML
|
22
22
|
|
23
|
-
Parameters: {"utf8"=>"✓", "authenticity_token"=>"
|
23
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0uhzmTtZPorE4kBCoJhyMxgbl3Mn0UKgIE5fCwooTSvc6fIpIvITKcn4ft15NZMmAnOa3oxMF1aDS7a5OWK2fQ==", "user"=>{"email"=>"kohei.discard@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
|
24
24
|
|
25
25
|
Can't verify CSRF token authenticity.
|
26
26
|
|
27
|
-
User Load (
|
27
|
+
User Load (1.8ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT ? [["email", "kohei.discard@gmail.com"], ["LIMIT", 1]]
|
28
28
|
|
29
29
|
↳ vendor/bundle/ruby/2.6.0/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
|
30
30
|
|
31
|
+
Redirected to http://localhost:3000/
|
32
|
+
|
33
|
+
Completed 302 Found in 204ms (ActiveRecord: 1.8ms)
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
Started GET "/" for ::1 at 2019-04-28 20:52:37 +0900
|
40
|
+
|
41
|
+
Processing by CouponsController#index as HTML
|
42
|
+
|
31
|
-
Completed 401 Unauthorized in 1
|
43
|
+
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
|
32
44
|
|
33
45
|
```
|
34
46
|
|