On Wed, Feb 25, 2009 at 4:31 AM, Jason Keenan <[email protected]> wrote:
> I've added the ability for the first registered user to automatically become
> an admin by adding these three lines
>     if User.count < 1
>       u.is_admin = true
>     end
> to accounts_controller.rb in the signup method
> Does anyone think this would pose a security risk??
> Jason


I think it's fine.

cheers,
steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to