drupal 7 - Content type form template -


i drupal form displayed if variable matches in list of 1 time passwords. is, user emailed url drupal form contains 1 time password , if valid password can submit drupal form.

i don't know how you'd moderate one-time, seemingly random urls, create content type password field denote, send url password whoever want access , insert in template:

example url: mysite.com/form?key=1234567

if(isset($_get['key']) && $_get['key'] == render($content['field_password'])) {     //do whatever here } else { print 'you not have access.'; } 

if doesn't cut it, log in 1 time module allows send 1 time login urls site, terminate account after period of time.

http://drupal.org/project/login_one_time


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -