Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

pug

10 sites Security covered
View on drupal.org

INTRODUCTION

The PUG (Password Suggestions) module provides a user interface to configure text contained in the password recommendations display on user add/edit form. For example, instead of saying a password is "Weak" you can specify it as "Poor", "Fair" or "Nice". It is fully configurable.

Note: While the module does allow site administrators to specify the password format, it does not enforce any of these suggestion during password validation

This module is useful in the following case:

  • While modules like Password Policy and Better Password give site admins the ability to alter the password validation process, they have limitations in their ability to inform users to the formats they may use. PUG fills this gap by creating a clean format to list these additional requirements
  • When in-built password validations are working and you just need to show the recommendations while user type the password in add/edit form.
  • When you are following the decoupled architecture and want to expose the password recommendations to the middleware, PUG will be a good choice for you.

REQUIREMENTS

This module requires the following:
* PHP 7.3 or greater
* Drupal core 8.8.0 or greater

INSTALLATION

  • Strongly recommend installing this module using composer:
    composer require drupal/pug

CONFIGURATION

  • Visit /admin/config/people/accounts - (Administration > Configuration > People > Account settings)
  • Make sure the option "Enable password strength indicator" must be checked.

HOW TO USE

  • Follow the configuration section.
  • Goto to user add or edit form
  • Enter you password in the Password field.
  • See the Recommendations under Confirm Password field. Here, is what you have configured in the settings.

ABOUT PUG REST RESOURCE

  • If you have enabled REST UI module then:
    Goto, (/admin/config/services/rest)
    Find the API by name - Password Suggestions
  • Just enable and use it. Cheers !!

Activity

Total releases
2
First release
May 2025
Latest release
11 months ago
Release cadence
0 days
Stability
0% stable

Releases

Version Type Release date
2.0.x-dev Dev May 4, 2025
2.x-dev Dev May 4, 2025