djangosnippets.org: Latest snippets tagged with 'drupal'https://djangosnippets.org/tags/drupal/2014-02-22T08:53:38.345114-06:00A more complete Drupal 7 compatible password hasher
2014-02-22T08:53:38.345114-06:00pberndthttps://djangosnippets.org/snippets/3030/<p>Use this class to authenticate against Drupal 7 password strings. When importing passwords from Drupal, the database values should be prefixed with "drupal$".</p>
<p>In contrast to the two present solutions, this class also works with passwords which were imported to Drupal 7 (e.g. from Drupal 6 or phpBB) and with …</p>
Freely redistributableInstructions and code to use drupal 7 passwords
2013-06-01T22:26:25.198340-05:00grillermohttps://djangosnippets.org/snippets/2924/<p>This is another fork of http://djangosnippets.org/snippets/2729/ that fixes the issue.</p>
<p>Unlike those other versions i give you instructions so it works for you, this is modified a little.</p>
<p>Instructions:</p>
<p>If you want to import the passwords from drupal you need to prepend to each of them the word drupal so …</p>
Freely redistributableDrupal password hasher for migration
2012-04-09T10:36:56.375528-05:00dgrtwohttps://djangosnippets.org/snippets/2729/<p>This BasePasswordHasher allows the easy migration of passwords from Drupal to Django 1.4. Drupal stores its passwords using a SHA512 hash, but with some iterations and postprocessing.</p>
<p>This snippet allows you to migrate the username and passwords over seamlessly- the only necessary change is truncating the first character of each …</p>
Freely redistributable