aaemnnosttv / wp-cli-login-command

Log in to WordPress with secure passwordless magic links.
https://aaemnnost.tv/wp-cli-commands/login/
MIT License
294 stars 47 forks source link

Add support for WP-CLI's global URL flag #15

Closed aaemnnosttv closed 7 years ago

aaemnnosttv commented 7 years ago

Currently using the global --url=asdf.xyz WP-CLI flag does not alter the behavior of the generated magic link as expected. This causes problems when attempting to use it to login to a sub-site on a multisite install or when using wp server to serve through localhost or another domain.

Resolves #6