The token [site:uri-brief] is used in password reset email, but this token is not defined.

Comments

j.somers’s picture

Is this still valid?

As far as I can see the specified token is not used in those messages:

<?php
case 'password_reset_subject':
       
$text = t('Replacement login information for !user-name-token at !site-name-token', array('!user-name-token' => '[user:name]', '!site-name-token' => '[site:name]'), array('langcode' => $langcode));
        break;
      case
'password_reset_body':
       
$text = t("!user-name-token,

A request to reset the password for your account has been made at !site-name-token.

You may now log in by clicking this link or copying and pasting it to your browser:

!one-time-login-token

This link can only be used once to log in and will lead you to a page where you can set your password. It expires after one day and nothing will happen if it's not used.

--  !site-name-token team"
, array('!user-name-token' => '[user:name]', '!site-name-token' => '[site:name]''!one-time-login-token' => '[user:one-time-login-url]'), array('langcode' => $langcode));
        break;
?>
aspilicious’s picture

Status:Active» Fixed

Did a quick grep, 0 matches for [site:uri-brief]!
This is fixed :)!

Thnx j.somers!

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.