Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re implement uid & mail options for user:* commands #4541

Closed
obriat opened this issue Aug 27, 2020 · 2 comments · Fixed by #4542
Closed

Re implement uid & mail options for user:* commands #4541

obriat opened this issue Aug 27, 2020 · 2 comments · Fixed by #4542

Comments

@obriat
Copy link
Contributor

obriat commented Aug 27, 2020

Is your feature request related to a problem? Please describe.
As stated in #4020, --uid and --mail options have been remove form the user command in drush 9. It complicates some scripting actions, like block/unblock admin(1) user, specially if you already change its name for security reason.

Describe the solution you'd like
Re implement these options as it have been done for user:login

@weitzman
Copy link
Member

Adapt as needed - drush uli --name=$(drush uinf --mail=foo@example.com --fields=name --format=string)

@obriat
Copy link
Contributor Author

obriat commented Aug 27, 2020

Sorry I already done the PR

weitzman added a commit that referenced this issue Dec 15, 2021
* Fix #4541: Add again uid and mail options for user command.

* Code comments.

Co-authored-by: O'Briat <olivier.briat@capgemini.com>
Co-authored-by: Moshe Weitzman <weitzman@tejasa.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants