You are here

public function ForcePasswordChangeServiceInterface::addFirstTimeLogin in Force Password Change 8

Same name and namespace in other branches
  1. 2.0.x src/Service/ForcePasswordChangeServiceInterface.php \Drupal\force_password_change\Service\ForcePasswordChangeServiceInterface::addFirstTimeLogin()

* Mark a user as having been forced to change their password on their first login * *

Parameters

int $uid: * The User ID of the user who has been forced to change their password on first login. Note * that this is metadata only - the force still needs to be performed through other actions.

1 method overrides ForcePasswordChangeServiceInterface::addFirstTimeLogin()
ForcePasswordChangeService::addFirstTimeLogin in src/Service/ForcePasswordChangeService.php
*

File

src/Service/ForcePasswordChangeServiceInterface.php, line 182

Class

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function addFirstTimeLogin($uid);