Note: How to switch off user's password verification during registration


When registering on a site a user will normally be asked for password verification which is required in Drupal by default.

Sometimes clients elect to have the given mechanism disabled. Web developers can do that by adding the following code to this module:

 * Implementation of hook_form_alter()
function mymodule_form_alter(&$form, $form_state, $form_id) {
  switch ($form_id) {
    case 'user_register':
      drupal_add_js("Drupal.behaviors.password = function(context) { return; }", 'inline' );
6 votes, Rating: 5

Read also

It happens very often that sorting on a specific criterion should be done. Views, Nodequeue, Flag and other similar modules are used for that. But sometimes functional of these modules is not enough...

Pressflow is Drupal’s distributive that provides advanced efficiency and scaling. It’s developed by the guys from Four Kitchens Company.


I was asked many times how to translate element <Any> in drop-down list in filter of views module.


What’s CDN? Content Delivery Network or Content Distribution Network, CDN – geographically distributed network infrastructure which allows optimizing delivery and distribution of content to the...


The founders and developers of MySQL resigned from their native company which belongs to Oracle (once Sun consumed MySQL and later Oracle consumed Sun).

Need a quote? Let's discuss the project

Are you looking for someone to help you with your Drupal Web Development needs? Let’s get in touch and discuss the requirements of your project. We would love to hear from you.

Join the people who have already subscribed!

Want to be aware of important and interesting things happening? We will inform you about new blog posts on Drupal development, design, QA testing and more, as well news about Drupal events.

No charge. Unsubscribe anytime