Whoops, I think I removed the registerable devise module. It works fine
though, but since we're not using a database authentication system (and
relative fields definitions are commented out) it should be removed.

Andrea D'Amico


On Mon, Nov 11, 2013 at 7:53 PM, Akshat Pradhan <notifications@github.com>wrote:

> In app/models/user.rb:
>
> > @@ -1,28 +1,78 @@
> >  class User
> >    include Mongoid::Document
> > +  # Include default devise modules. Others available are:
> > +  # :token_authenticatable, :confirmable,
> > +  # :lockable, :timeoutable and :omniauthable
> > +  devise :invitable, :registerable, :omniauthable, omniauth_providers: [:dwolla]
> > +
> > +  ## Database authenticatable
>
> @adamico <https://github.com/adamico> if we're using dwolla for User
> Management, why do we need fields for email, encrypted_password, and reset
> password token?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/akshatpradhan/lending-round/pull/17/files#r7568742>
> .
>