Hi,

I've managed to write an authentication module, however, users are
required to enter the username as "username@server" before it gets activated.

Is it possible to direct all logins (with and without the @server part)
to an authentication module?

Best regards.

Frank

Comments

naudefj’s picture

If I log in with "user@domain" hook_auth gets activated.

However, if I log in with "user", hook_auth is bypassed.

igy-1’s picture

I also had this problem, I eventually gave up trying, and used a _cron hook to copy the accounts from the external source, and a _user hook to migrate any changes made in drupal back to the external source.

Stephen Doyle
http://igy.be

naudefj’s picture