Won't work with cookies disabled

maulwuff - April 25, 2009 - 21:50
Project:Protected node
Version:6.x-1.5
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

just encountered two problems:

- The user trying to access a protected node, will always get "password incorrect" although it's correct, if cookies are disabled.
- The labels on the "enter password page" are missing some words, because there is no data from the session cookie:
--- In the enter-password-dialog: "The you are trying ....."
--- In the label: "password:" instead of "[nodename] password"

the label just says: "password" instead of "nodename password:"

(I would skip the node type name, as it reveals internal structures to visitors. The node name has no use for the visitor.)

my proposal is as follows:
- get every information of the node from the url, because it includes the redirect destination. i.e. "?destination=node%2F359"
- show a warning if no data can be retrieved from the session cookie.

thx

 
 

Drupal is a registered trademark of Dries Buytaert.