riverrun / phauxth

Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
409 stars 21 forks source link

funny results for get /users/:id #20

Closed tnt closed 7 years ago

tnt commented 7 years ago

https://github.com/riverrun/phauxth/blob/44e8f2889602375c1db9051d9b5c2adee85201c1/installer/new/templates/user_controller.ex#L42-L45

Regardless of the url (/users/1, /users/2,…) it always shows the current_user (same for the other actions). Not exactly what I would expect.

Is the stage too early for my expectations?

riverrun commented 7 years ago

Thanks for letting me know. I'll fix that now.

riverrun commented 7 years ago

Just pushed a fix to the master branch.