Search for password_

  1. Search 9.5.x for password_
  2. Search 8.9.x for password_
  3. Search 10.3.x for password_
  4. Search 11.x for password_
  5. Other projects
Title Object type File name Summary
drupal-6.user-no-password-token.database.php file modules/simpletest/tests/upgrade/drupal-6.user-no-password-token.database.php
drupal-6.user-password-token.database.php file modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
form_process_password_confirm function includes/form.inc Expand a password_confirm field into two text boxes.
form_type_password_confirm_value function includes/form.inc Determines the value for a password_confirm form element.
OpenIDWebTestCase::getPasswordResetURLFromMail function modules/openid/openid.test Parses the last sent e-mail and returns the one-time login link URL.
password-hash.sh file scripts/password-hash.sh #!/usr/bin/env php
<?php

/**
* Drupal hash script - to generate a hash from a plaintext password
*
* Check for your PHP interpreter - on Windows you'll probably have to
* replace line 1 with
* #!c:/program files/php/php.exe
*
*…
password.inc file includes/password.inc Secure password hashing functions for user authentication.
password.test file modules/simpletest/tests/password.test Provides unit tests for password.inc.
PasswordHashingTest class modules/simpletest/tests/password.test Unit tests for password hashing API.
PasswordHashingTest::$profile property modules/simpletest/tests/password.test
PasswordHashingTest::getInfo function modules/simpletest/tests/password.test
PasswordHashingTest::setUp function modules/simpletest/tests/password.test
PasswordHashingTest::testLongPassword function modules/simpletest/tests/password.test Verifies that passwords longer than 512 bytes are not hashed.
PasswordHashingTest::testPasswordHashing function modules/simpletest/tests/password.test Test password hashing.
password_confirm_validate function includes/form.inc Validates a password_confirm element.
UserLoginTestCase::testPasswordRehashOnLogin function modules/user/user.test Test that user password is re-hashed upon login after changing $count_log2.
UserPasswordResetTestCase class modules/user/user.test Tests resetting a user password.
UserPasswordResetTestCase::$profile property modules/user/user.test
UserPasswordResetTestCase::generateResetURL function modules/user/user.test Generates login link.
UserPasswordResetTestCase::getConfirmURL function modules/user/user.test Turns a password reset URL into a 'confirm' URL.
UserPasswordResetTestCase::getInfo function modules/user/user.test
UserPasswordResetTestCase::getResetURL function modules/user/user.test Retrieves password reset email and extracts the login link.
UserPasswordResetTestCase::setUp function modules/user/user.test
UserPasswordResetTestCase::testPasswordResetFloodControlPerIp function modules/user/user.test Test IP-based flood control on password reset.
UserPasswordResetTestCase::testPasswordResetFloodControlPerUser function modules/user/user.test Test user-based flood control on password reset.
UserPasswordResetTestCase::testResetImpersonation function modules/user/user.test Make sure that users cannot forge password reset URLs of other users.
UserPasswordResetTestCase::testResetInvalidation function modules/user/user.test Make sure that password reset URLs are invalidated when the user's email
address changes.
UserPasswordResetTestCase::testUserDirectLogin function modules/user/user.test Test direct login link that bypasses the password reset form.
UserPasswordResetTestCase::testUserPasswordReset function modules/user/user.test Tests password reset functionality.
UserPasswordResetTestCase::testUserPasswordResetExpired function modules/user/user.test Attempts login using an expired password reset link.
UserPasswordResetTestCase::testUserPasswordResetLoggedIn function modules/user/user.test Test user password reset while logged in.
UserPasswordResetTestCase::testUserPasswordTextboxFilled function modules/user/user.test Prefill the text box on incorrect login via link to password reset page.
UserUpgradePathNoPasswordTokenTestCase class modules/simpletest/tests/upgrade/upgrade.user.test Upgrade test for user.module (password token not involved).
UserUpgradePathNoPasswordTokenTestCase::getInfo function modules/simpletest/tests/upgrade/upgrade.user.test
UserUpgradePathNoPasswordTokenTestCase::setUp function modules/simpletest/tests/upgrade/upgrade.user.test
UserUpgradePathNoPasswordTokenTestCase::testUserUpgrade function modules/simpletest/tests/upgrade/upgrade.user.test Test a successful upgrade.
UserUpgradePathPasswordTokenTestCase class modules/simpletest/tests/upgrade/upgrade.user.test Upgrade test for user.module (password token involved).
UserUpgradePathPasswordTokenTestCase::getInfo function modules/simpletest/tests/upgrade/upgrade.user.test
UserUpgradePathPasswordTokenTestCase::setUp function modules/simpletest/tests/upgrade/upgrade.user.test
UserUpgradePathPasswordTokenTestCase::testUserUpgrade function modules/simpletest/tests/upgrade/upgrade.user.test Test a successful upgrade.
user_form_process_password_confirm function modules/user/user.module Form element process handler for client-side password validation.
user_form_test_current_password_submit function modules/user/tests/user_form_test.module Submit function for the test form for user_validate_current_pass().
_password_base64_encode function includes/password.inc Encodes bytes into printable base 64 using the *nix standard from crypt().
_password_crypt function includes/password.inc Hash a password using a secure stretched hash.
_password_enforce_log2_boundaries function includes/password.inc Ensures that $count_log2 is within set bounds.
_password_generate_salt function includes/password.inc Generates a random base 64-encoded salt prefixed with settings for the hash.
_password_get_count_log2 function includes/password.inc Parse the log2 iteration count from a stored hash or setting string.
_password_itoa64 function includes/password.inc Returns a string for mapping an int to the corresponding base 64 character.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.