thouroughly confused

katami - June 4, 2009 - 01:05
Project:LoginToboggan
Version:5.x-1.0
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I'm running Drupal 5.2 and LT 5.x-1.0. We have 150 user accounts that are "Registered Unauthenticated User" but new registrations don't get that role. I didn't see where that would be getting set.

I'd like to customize our login form so the default goes to /community and on access denied pages, reloads the current page (node/200). This isn't working either??

The code for node-access-denied is
drupal_get_form('user_login', array('dest' => array('#type'=>'hidden', '#value'=>'123'))),
or drupal_get_form('user_login', array('#redirect' => '678')),

We don't use logindestination but do a theme_hook on user_login.

Thanks for any advise.

#1

katami - June 5, 2009 - 00:09

Okay, I saw that LT hook_user takes the user out of 'Auth' or 'Anon' and sets then to whatever role you choose: /admin/user/logintoboggan []Set password & Immediate login.

Deleted the role so all we then 'Auth' users. Created a new role for LT and left []Set password & Immediate login unchecked. No need to manual set all permissions for the role again.

Any ideas on why the user_login form wouldn't just redirect to the page it appeared on?

Thanks

#2

hunmonk - October 11, 2009 - 19:28
Status:active» fixed

LT only does redirects on registration and confirmation. if you're having problems with redirects on regular logins, you'll have to troubleshoot elsewhere.

#3

System Message - October 25, 2009 - 19:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.