[development] Super Ninja Question: Auto-creating user and logging in (worth +15 magic points) [SOLVED]

Chris Johnson cxjohnson at gmail.com
Mon Jan 28 20:52:08 UTC 2008


Cool.  Thanks for describing your solution.

On Jan 27, 2008 5:52 AM, Rob Barreca <rob at electronicinsight.com> wrote:
> Ivan Sergio Borgonovo wrote:
> >
> > I'm not an AJAX Ninja but why don't you build up a hook that call
> > similar stuff in modules/user.module user_login_submit/validate?
> >
> > You will get back the right changed session without a redirect.
> >
> > The main problem could be delaying user login hooks of other modules:
> >
> > user_module_invoke('login', $form_values, $user);
> >
> >
>
> That's what we've been doing in the code all along. We've solved this,
> here's what went down.


More information about the development mailing list