Resetting a single user's token does not use the configured token length

Mark Rose - August 10, 2008 - 16:57
Project:Token authentication
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

To reproduce:

1. Enable the Token Authentication module.
2. In Administration > Site Configuration > Token Authentication, change the token length to something other than 10.
3. Log in as any user.
4. Go to "My account" and select the Token Authentication tab.
5. Click Reset Token, and confirm that you want to reset the token.

Expected result: the new token has the length configured in step #2.
Actual result: the new token as the default length, 10.

A patch is attached.

AttachmentSize
tokenauth.user-token-reset.patch650 bytes

#1

moshe weitzman - August 10, 2008 - 18:23
Status:active» fixed

Comitted. Thx.

#2

Anonymous (not verified) - August 24, 2008 - 18:23
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.