Closed egeersoz closed 5 years ago
Any news on this?
@egeersoz a PR is welcomed 👍
I have just had a look at this, guardian doesn't seem to use render anywhere, the warning you are referring to looks like is coming from your own implementation of the error_handler, could that be the case?
@Hanspagh Yes, that did indeed turn out to be the case. It wasn't immediately obvious from the stack trace. Thanks for looking into it!
The
render/4
function has been deprecated in Phoenix 1.4, so the various guardian plugs need to be updated to useput_view/1
followed byrender/3
when rendering.Warnings are currently reported in the console:
Example usage of the new
put_view/1
function: