smpallen99 / ex_admin

ExAdmin is an auto administration package for Elixir and the Phoenix Framework
MIT License
1.2k stars 275 forks source link

Not able to create user in exadmin #427

Closed suhaschitade closed 6 years ago

suhaschitade commented 6 years ago

Hi, I have followed every steps for installing coherence and exadmin. it worked very well. I can create other db entries likes roles, countries using exadmin. However when registering user, exadmin neither throws an error nor submitting entries in database. Dont know whats wrong here

Regards,

suhaschitade commented 6 years ago

These are the few debug logs generated by phoenix

iex(1)> [debug] Processing with ExAdmin.AdminResourceController.create/2 Parameters: %{"_csrf_token" => "LXAoYHcQAiUmHyUpDy8uOTUABjw+AAAAoHr/GvdTPXGNCdJsXCcKkA==", "commit" => "Create User", "resource" => "users", "user" => %{"email" => "a.b@gmail.com", "name" => "Suhas", "password_hash" => "[FILTERED]"}, "utf8" => "Γ£ô"} Pipelines: [:browser] iex(1)> [info] Sent 200 in 15ms

suhaschitade commented 6 years ago

closing this issue. After bit of research found out that password field is needed in exadmin section in user model. Quite a strange as contact_demo repo which I was referring had this field commented.