You are here

public function ForcePasswordChangeServiceInterface::addFirstTimeLogin in Force Password Change 2.0.x

Same name and namespace in other branches
  1. 8 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
Mark a user as having been forced to change their password on their first login.

File

src/Service/ForcePasswordChangeServiceInterface.php, line 192

Class

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function addFirstTimeLogin($uid);