Skip to content

Commit

Permalink
Remove unneeded option in user-password.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman authored and mikeker committed Aug 4, 2017
1 parent 26e2a2b commit 6c8aa5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/core/UserCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public function cancel($names, $options = ['delete-account' => FALSE]) {
* @usage drush user-password someuser "correct horse battery staple"
* Set the password for the username someuser. @see xkcd.com/936
*/
public function password($name, $password, $options = ['password' => '']) {
public function password($name, $password) {
if ($account = user_load_by_name($name)) {
if (!drush_get_context('DRUSH_SIMULATE')) {
$account->setpassword($password);
Expand Down

0 comments on commit 6c8aa5d

Please sign in to comment.