Hello,

I installed this module and in the config, it has a "Which module would you like to handle auth for you?" But does not provide me with any options. Do I create my own module? If so, how do I get it to show up in that drop down?

Also, I am getting the following error...but I think it is because I have not selected any module to auth?

Warning: Invalid argument supplied for foreach() in form_select_options() (line 2575 of C:\xampp\htdocs\seven\includes\form.inc).
Notice: Undefined variable: options in passkey_admin_settings() (line 145 of C:\xampp\htdocs\seven\sites\all\modules\passkey\passkey.module).
Notice: Undefined variable: options in passkey_admin_settings() (line 145 of C:\xampp\htdocs\seven\sites\all\modules\passkey\passkey.module).

Any help would be great
Thanks

Comments

akalsey’s picture

Status: Active » Fixed

This is a module for developers. As described on the home page....

The module passes the user's username and password to your code and you return true or false. It's that simple.

By itself, Passkey has no idea how to talk to your user database - how would it? You tell it how to do that by writing a small Drupal module that implements a function called "yourmodulename_passkey_auth". When someone tries to log in, Passkey will send the username and password to your module. You do whatever you want (connect to a database, hit a web service, pick a random number, etc) and return either True or False. If True, the user is allowed to log in. If False, they are rejected.

Status: Fixed » Closed (fixed)

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