25 lines
1,011 B
YAML
25 lines
1,011 B
YAML
![]() |
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: 'User name/id'
|
||
|
questions:
|
||
|
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"'
|
||
|
errors:
|
||
|
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
|