drush user:loginfor drush 9x
Display a one time login link for user ID 1, or another user.
drush user:login
-
Aliases
user:login has 2 alias/es:
drush uli
drush user-login
-
Arguments
user:login accepts 1 argument/s:
path : Optional path to redirect to after logging in.
-
Options
user:login accepts 7 option/s:
--name
--name : name
--browser
--browser : browser
--redirect-port
--redirect-port : redirect-port
--no-browser
--no-browser : no-browser
--notify
--notify : notify
--druplicon
--druplicon : druplicon
--xh-link
--xh-link : xh-link
-
Examples
Open default web browser and browse to homepage, logged in as uid=1.
drush user:login
Open default web browser (if configured or detected) for a one-time login link for username ryan that redirects to node/add/blog.
drush user:login --name=ryan node/add/blog
Open firefox web browser, and login as the user with the e-mail address drush@example.org.
drush user:login --browser=firefox --mail=drush@example.org
-
Comments
comments powered by Disqus