Download & Extend

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

Project:Token authentication
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:active» fixed

Comitted. Thx.

#2

Status:fixed» closed (fixed)

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

nobody click here