Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

index c32a171..8a80e0b 100644 --- a/core/modules/user/user.libraries.yml +++ b/core/modu..

Decoded Output download

<?  index c32a171..8a80e0b 100644 
--- a/core/modules/user/user.libraries.yml 
+++ b/core/modules/user/user.libraries.yml 
@@ -9,6 +9,7 @@ drupal.user: 
     - core/jquery 
     - core/drupal 
     - core/jquery.once 
+    - core/zxcvbn 
  
 drupal.user.permissions: 
   version: VERSION 
diff --git a/core/modules/user/user.module b/core/modules/user/user.module 
index 5191c32..8363cdf 100644 
--- a/core/modules/user/user.module 
+++ b/core/modules/user/user.module 
@@ -1548,12 +1548,17 @@ function user_form_process_password_confirm($element) { 
     $password_settings += array( 
       'strengthTitle' => t('Password strength:'), 
       'hasWeaknesses' => t('To make your password stronger:'), 
+      'basedOnADictionaryWord' => t('Do not base the password on a dictionary word'), 
+      'addWords' => t('Add words'), 
       'tooShort' => t('Make it at least 6 characters'), 
       'addLowerCase' => t('Add lowercase letters'), 
       'addUpperCase' => t('Add uppercase letters'), 
       'addNumbers' => t('Add numbers'), 
       'addPunctuation' => t('Add punctuation'), 
       'sameAsUsername' => t('Make it different from your username'), 
+      'sameAsEmail' => t('Make it different from your email address'), 
+      'sameAsEmailUsernamePart' => t('Make it different from the username part of email your address'), 
+      'sameAsEmailDomainPart' => t('Make it different from the domain of your email address'), 
       'weak' => t('Weak'), 
       'fair' => t('Fair'), 
       'good' => t('Good'), ?>

Did this file decode correctly?

Original Code

index c32a171..8a80e0b 100644
--- a/core/modules/user/user.libraries.yml
+++ b/core/modules/user/user.libraries.yml
@@ -9,6 +9,7 @@ drupal.user:
     - core/jquery
     - core/drupal
     - core/jquery.once
+    - core/zxcvbn
 
 drupal.user.permissions:
   version: VERSION
diff --git a/core/modules/user/user.module b/core/modules/user/user.module
index 5191c32..8363cdf 100644
--- a/core/modules/user/user.module
+++ b/core/modules/user/user.module
@@ -1548,12 +1548,17 @@ function user_form_process_password_confirm($element) {
     $password_settings += array(
       'strengthTitle' => t('Password strength:'),
       'hasWeaknesses' => t('To make your password stronger:'),
+      'basedOnADictionaryWord' => t('Do not base the password on a dictionary word'),
+      'addWords' => t('Add words'),
       'tooShort' => t('Make it at least 6 characters'),
       'addLowerCase' => t('Add lowercase letters'),
       'addUpperCase' => t('Add uppercase letters'),
       'addNumbers' => t('Add numbers'),
       'addPunctuation' => t('Add punctuation'),
       'sameAsUsername' => t('Make it different from your username'),
+      'sameAsEmail' => t('Make it different from your email address'),
+      'sameAsEmailUsernamePart' => t('Make it different from the username part of email your address'),
+      'sameAsEmailDomainPart' => t('Make it different from the domain of your email address'),
       'weak' => t('Weak'),
       'fair' => t('Fair'),
       'good' => t('Good'),

Function Calls

None

Variables

None

Stats

MD5 bf6622e151d2ceb533d9c5a3495f8c02
Eval Count 0
Decode Time 55 ms