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

Added possibility to change the link timeout duration. #11

Closed niladam closed 7 years ago

niladam commented 7 years ago

Added possibility to change the link timeout duration using environment variable. Defaults to 15 minutes as initially intended.

Setting the WP_CLI_LOGIN_TIMEOUT_DURATION as an environment variable will change the duration of the link to that specified duration. Fallbacks to the initial 15 minutes for the timeout.

niladam commented 7 years ago

Oops, i didn't read the last part. Closing this PR and opening a new one with a feature branch :)