$this->logger->info('User %name used one-time login link at time %timestamp.',['%name'=>$user->getDisplayName(),'%timestamp'=>$timestamp]);
$this->logger->info('User %name used one-time login link at time %timestamp.',[
'%name'=>$user->getDisplayName(),
'%timestamp'=>$timestamp,
]);
$this->messenger()->addStatus($this->t('You have just used your one-time login link. It is no longer necessary to use this link to log in. It is recommended that you set your password.'));
// Let the user's password be changed without the current password