Security update for Core, with self-updated composer
[yaffs-website] / vendor / drupal / console-en / translations / user.password.reset.yml
index 893c2b9897343e074f4801990765331718f59b1b..60f63ea0da2d360b6c398d33216e473c4c78886f 100644 (file)
@@ -2,16 +2,23 @@ description: 'Reset password for a specific user.'
 help: 'The <info>password:reset</info> command helps you to reset password for a specific user.'
 welcome: 'Welcome to the Drupal password reset'
 options:
-    password: 'Password in text format'
-    user-id: 'User ID'
+  password: 'Password in text format'
+  user: 'User name/id'
 questions:
-    invalid-uid: 'Invalid user id "%s", user id must be an integer'
-    invalid-pass: 'Password can''t be empty'
-    user: 'Enter User ID'
-    password: 'Enter password'
-    other-password: 'Other password (press <return> to stop adding passwords)'
+  invalid-user: 'Invalid user name/id "%s", user id must be an integer'
+  invalid-pass: 'Password can''t be empty'
+  user: 'Enter User name/id'
+  password: 'Enter password'
+  other-password: 'Other password (press <return> to stop adding passwords)'
 messages:
-    reset-successful: 'Password was updated successfully for user id "%s"'
+  reset-successful: 'Password was updated successfully for user id "%s"'
 errors:
-    invalid-user: 'Invalid user id "%s"'
-    empty-password: 'Password can not be empty'
+  invalid-user: 'Invalid user name/id "%s"'
+  empty-password: 'Password can not be empty'
+examples:
+  - description: 'Update password specifying the user id and the new password'
+    execution: |
+      drupal user:password:reset 2 p455w0rd
+  - description: 'Update password specifying the user jmolivas and the new password'
+    execution: |
+      drupal user:password:reset jmolivas p455w0rd