Skip to content

Commit

Permalink
Add cmd for login w given uid
Browse files Browse the repository at this point in the history
  • Loading branch information
laurielim committed Aug 31, 2023
1 parent 0cd55ef commit 5433fa7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions make/drupal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ drush-uli: ## Get login link
$(call step,Login to your site with:\n)
$(call drush,uli$(if $(DRUPAL_UID), --uid=$(DRUPAL_UID),) $(DRUPAL_DESTINATION))

PHONY += drush-uli-%
drush-uli-%: DRUPAL_DESTINATION ?= admin/reports/status
drush-uli-%: ## Get login link for provided uid
$(call step,Login to your site as user $* with:\n)
$(call drush,uli --uid=$* $(DRUPAL_DESTINATION))

PHONY += drush-si
ifeq ($(DRUPAL_CONF_EXISTS),yes)
drush-si: DRUSH_SI := -y --existing-config
Expand Down

0 comments on commit 5433fa7

Please sign in to comment.