Hi everybody,

i know, thats really weird to ask for a permant login link when the module is called login on time but i canÄt find a working permanent login link module for drupal 7.

is there a way to use this module? i really need that! its just for a internal network, so there are no problems with security etc..

would be great!

thanks,
matthias

Comments

Cayenne’s picture

I am thinking that the use of this module would be overkill for such an application. The simplest way (and note that this is truly HORRIBLE security, would to have a set of pages with hard-to-guess URLs, all having content along the lines of:



global $user;
$user->uid=39;

Anyone visiting such a page, as I discovered by accident, would be logged in as that uid. You can get fancier and create a module, or even use a URL parameter, but that's the basic idea. Probably missing an API call, but it seems to work.

Michael

FNGR’s picture

Great idea, i will test it!

Thank you!

stewart.adam’s picture

This resource may be useful too: https://drupal.org/node/218104. Also note that you can use the tokenauth project (https://drupal.org/project/tokenauth) to assign a each user a unique URL that will log them in immediately.

I'm not the maintainer for this module so I won't close the issue now, but since this is out of scope for login one time I recommend we mark this as closed (won't fix).

ptmkenny’s picture

Status: Active » Closed (won't fix)

I think it's fair to consider this issue closed because the TokenAuth module can handle this, whereas this module is designed to provide one-time access.