[jifty-devel] Question about Jifty::Plugin::Authentication::Password
jjjesss at gmail.com
Mon Oct 12 15:22:12 EDT 2009
Yes, I think you're right Jesse. I was thinking about that after
reading Ruslan's answer...
Thank you very much Jesse. And thanks Ruslan. I'll try it.
El Mon, 12 Oct 2009 15:06:16 -0400
Jesse Vincent <jesse at bestpractical.com> escribió:
> 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.
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
More information about the jifty-devel