You are here

public function ForcePasswordChangeServiceInterface::forceUserPasswordChange 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::forceUserPasswordChange()

Force a password change for a given user.

Parameters

int $uid: The User ID for the user who should be forced to change their password.

1 method overrides ForcePasswordChangeServiceInterface::forceUserPasswordChange()
ForcePasswordChangeService::forceUserPasswordChange in src/Service/ForcePasswordChangeService.php
Force a password change for a given user.

File

src/Service/ForcePasswordChangeServiceInterface.php, line 26

Class

ForcePasswordChangeServiceInterface

Namespace

Drupal\force_password_change\Service

Code

public function forceUserPasswordChange($uid);