Closed darcymiranda closed 5 months ago
At some point this broke because get_user_by_email/1 is now returning a map (cached user) instead of the user ecto struct. Let's just use the general functions provided by Ecto to fetch the root user.
get_user_by_email/1
I tested this and can confirm that the docs are wrong and this update fixes it.
At some point this broke because
get_user_by_email/1
is now returning a map (cached user) instead of the user ecto struct. Let's just use the general functions provided by Ecto to fetch the root user.