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.
When sign in with Twitter for the first time and "Automatically register new users" is enabled the generated password is stored in plain text into the database. Then the user cannot login with the provided password.
I solved this including 'includes/password.inc' and using user_hash_password on 'twitter_signin/twitter_signin.module' line 156
require_once DRUPAL_ROOT . '/' . variable_get('password_inc', 'includes/password.inc');
$account->pass = user_hash_password($password);
Comments
Comment #1
Alcaparra CreditAttribution: Alcaparra commentedCan you explain this for noobies? I have the same problem :S Please :)
Where I put "require_once DRUPAL_ROOT . '/' . variable_get('password_inc', 'includes/password.inc');"??
Comment #2
juampynr CreditAttribution: juampynr commentedFixed warnings raised while creating the Drupal account at http://drupalcode.org/project/twitter.git/commit/8c6972e
Tested divadu's suggestion and committed it at http://drupalcode.org/project/twitter.git/commit/3121bcc. This was crucial since it blocked users from changing their password and logging in the next time.
Thanks!