Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Generator lacks some of the fields used by otp and user role admin #75

Closed
guidotripaldi opened this issue Nov 30, 2016 · 2 comments
Closed

Comments

@guidotripaldi
Copy link

guidotripaldi commented Nov 30, 2016

Hi David,
I've noticed that the priv/templates/phoenixauth/user_migration.exs used by the generator, lacks some of the fields (:otp_required, :otp_secret, :role and :remember) used by the "advanced" openmaize version.
It is just an oversight or an intended behavior? Are we supposed to add them by hand to the project, or we may safely enhance the generator so to speedup the project setup?

@riverrun
Copy link
Owner

At the moment, this is intended. The generator provides the most basic setup.
We can of course work on improving this. It depends a lot on what people want.

@riverrun
Copy link
Owner

riverrun commented Dec 9, 2016

I think things like :otp_required and :role can be addressed in the wiki -- maybe have a brief explanation together with some snippets of code that people could copy and paste.

@riverrun riverrun closed this as completed Jan 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants