Login one time

danielb - November 8, 2008 - 01:04

Login One Time provides functions for emailing a one-time login link to a user.

The use case for this is where your users can't figure out how to use a username and password - so they phone you requesting an email link to what they need.

Usage:

Users with the appropriate permission can send a one-time login via a user's profile page.

API Usage:

print login_one_time_button($account);

This will create a button, that when pressed sends an email to the email address of that $account giving them a one-time login link.

If you would like them to start on a particular page, you can add an extra parameter $path like so:

print login_one_time_button($account, $path);

If you would like to skip the button and just call a function that sends the email straight away:
login_one_time_send_mail($account, $path);

Email template configurable at the user settings page.

This modules differs to One-time login links as it emails the links and does not require you to download a CSV of one-time links to manage yourself.

Releases

Official releasesDateSizeLinksStatus
6.x-1.22009-Apr-249.72 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.