Ben Orozco
Ben Orozco

Reputation: 4371

How to modify restful_authentication plugin setup in Rails?

I installed restful_authentication a while ago in my project, everything works fine, except that now we requiere the users to activate their accounts via email.

I forgot to include the option "--include-activation" when I ran the generate script, is there a clean way to add it now? Or should I re-install the plugin? If so, how can it be done the safest and cleanest way?

Upvotes: 1

Views: 107

Answers (2)

inkdeep
inkdeep

Reputation: 1127

If your under source control you could branch your codebase and rerun the install with the flag '--include-activation' and see if it breaks your app or not.

Upvotes: 0

Tony Fontenot
Tony Fontenot

Reputation: 5101

I would go to the generator source and see what the --include-activation option does and replicate it manually. Very tedious, but I don't see another way.

Upvotes: 1

Related Questions