We've moved discussions to Discord

Update User From Dashboard Redirects and Logs Out

Bryan Stewart
When I update a user from dashboard, I am now redirected to the user path /users/1/edit, but get a 404 and see that I am logged out.

<p>We're contacting you to notify you that your password has been changed.</p>

D, [2020-03-23T22:25:24.927765 #14058] DEBUG -- : [b2a7c324-75a8-47af-8f12-cd51eabfbb82]   [1m[35m (1.9ms)[0m  [1m[35mCOMMIT[0m
I, [2020-03-23T22:25:24.928633 #14058]  INFO -- : [b2a7c324-75a8-47af-8f12-cd51eabfbb82] Redirected to https://demo.t0urnament.net/admin/users/1
I, [2020-03-23T22:25:24.928839 #14058]  INFO -- : [b2a7c324-75a8-47af-8f12-cd51eabfbb82] Completed 302 Found in 552ms (ActiveRecord: 4.6ms | Allocations: 4856)
I, [2020-03-23T22:25:25.041274 #14058]  INFO -- : [07fba31c-8fa9-4c1e-b52f-f440a2b56b10] Started GET "/admin/users/1" for 24.218.245.108 at 2020-03-23 22:25:25 +0000
D, [2020-03-23T22:25:25.043837 #14058] DEBUG -- : [07fba31c-8fa9-4c1e-b52f-f440a2b56b10]   [1m[36mUser Load (0.4ms)[0m  [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m  [["id", 1], ["LIMIT", 1]]
F, [2020-03-23T22:25:25.045359 #14058] FATAL -- : [07fba31c-8fa9-4c1e-b52f-f440a2b56b10]   
[07fba31c-8fa9-4c1e-b52f-f440a2b56b10] ActionController::RoutingError (No route matches [GET] "/admin/users/1"):
[07fba31c-8fa9-4c1e-b52f-f440a2b56b10]   
Bryan Stewart
Okay, update on the issue. seems that this is not happening if I update another user. If i update my own user (logged in account) that happens, which kinda makes sense. So maybe ill shut up
Notifications
You’re not receiving notifications from this thread.