Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / scripts / password-hash.sh
index cf5e9e3824687fee9761e7ac29240d9c4aa561d5..611ee533084ec6708648a1c02787bcb7f90ad57f 100755 (executable)
@@ -2,6 +2,7 @@
 <?php
 
 /**
+ * @file
  * Drupal hash script - to generate a hash from a plaintext password
  *
  * @param password1 [password2 [password3 ...]]
@@ -64,7 +65,6 @@ $kernel->boot();
 $password_hasher = $kernel->getContainer()->get('password');
 
 foreach ($passwords as $password) {
-  print("\npassword: $password \t\thash: ". $password_hasher->hash($password) ."\n");
+  print("\npassword: $password \t\thash: " . $password_hasher->hash($password) . "\n");
 }
 print("\n");
-