Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By naudefj on
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
Any ideas on how to resolve this problem?
If I log in with "user@domain" hook_auth gets activated.
However, if I log in with "user", hook_auth is bypassed.
Me too
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
And the answer is...
See solution at http://drupal.org/node/29147