summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarracuda Team2013-01-22 18:33:53 (GMT)
committerHerman van Rink2013-09-25 08:50:19 (GMT)
commitb9a7e774bf36eb0183972f446d3916d83da00207 (patch)
tree21edb3bc4c23d35bdb97b66c62bc11fe5be7969c
parente80eda5dd2419cd7b378ab77dbce27afc7ce94a7 (diff)
Issue #1830994 by ergonlogic: Added Login directly via 'login' link (D8)
-rw-r--r--platform/drupal/install_8.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/drupal/install_8.inc b/platform/drupal/install_8.inc
index 6a271c3..bcff088 100644
--- a/platform/drupal/install_8.inc
+++ b/platform/drupal/install_8.inc
@@ -151,8 +151,8 @@ function install_main() {
$onetime = user_pass_reset_url($account);
// Store the one time login link in an option so the front end can direct the user to their new site.
- drush_set_option('login_link', $onetime);
- drush_log(t('Login url: !onetime', array('!onetime' => $onetime)), 'message');
+ drush_set_option('login_link', $onetime . '/login');
+ drush_log(t('Login url: !onetime', array('!onetime' => $onetime . '/login')), 'message');
if ($client_email) {
install_send_welcome_mail($url, $account, $install_locale, $client_email, $onetime);