From e7a69cbaa7b1c32d0037538f082ef40492aa3e7a Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Sun, 5 Jan 2025 13:08:00 +0100 Subject: [PATCH] Make sure to use https in drush user login cmd In the end of the `task dev:reset` cmd it is annoying to get the http version of the one time login url because http is currently not supported. --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 1f343973c..ec9a8d979 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -177,7 +177,7 @@ tasks: - task dev:enable-dev-tools - task dev:create-users # Show a one-time login to the local site. - - task dev:cli -- drush user-login + - LOGIN_URL=$(task dev:cli -- drush user-login); echo ${LOGIN_URL/http:\/\//https:\/\/} env: DOCKER_COMPOSE_FILES: "{{ .DOCKER_COMPOSE_FILES_DEV }}"