loading...

How to implement Authorization in elixir and phoenix

Haseeb on October 06, 2019

We are going to build a very simple user authorization system for phoenix framework which can fit into applications of different size. Basically a... [Read Full]
markdown guide
 

There is confusion at the beginning of the article.
I think you need to replace:

if(user.id == post.id) do

if(user.id == post.user_id) do

 
code of conduct - report abuse