[jifty-devel] Question about Jifty::Plugin::Authentication::Password

Jesse Vincent jesse at bestpractical.com
Mon Oct 12 15:06:16 EDT 2009




On Sun, Oct 11, 2009 at 11:22:26PM +0200, Jes wrote:
> Thanks Ruslan, but... how? 
> 
> El Mon, 12 Oct 2009 00:49:51 +0400
> Ruslan Zakirov <ruslan.zakirov at gmail.com> escribió:
> 
> > Hello Jes,
> > 
> > I believe that there is no need in new plugin for that and this one
> > can be easily extended to avoid confirmations.
> > 
> > On Sun, Oct 11, 2009 at 10:14 PM, Jes <jjjesss at gmail.com> wrote:
> > > Hi all:
> > >
> > > I'm a new Jifty user (only 4 days reviewing docs and starting to
> > > code). I need to implement a very trivial login system, so
> > > Jifty::Plugin::Authentication::Password seemed very appropiate but
> > > it needs an email confirmation to activate users. The machine in
> > > which the application is installed, cannot send mail out (no
> > > gateways to the mail server or through internet).
> > >
> > > I only want users to be able to sign up, and no other verification
> > > procedures take place. Is it possible with this plugin or have I to
> > > code a new one? Is it possible to switch of the email confirmation
> > > (maybe 'email_confirmed' always on?).

I suspect that what you need to do is, yes, subclass
Jifty::Plugin::Authentication::Password::Action::Signup to not tell the
user you're sending them mail and to set email_confirmed to true in
'create' in your User model.

Best,
Jesse


More information about the jifty-devel mailing list