public function ForcePasswordChangeService::forceUserPasswordChange in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/Service/ForcePasswordChangeService.php \Drupal\force_password_change\Service\ForcePasswordChangeService::forceUserPasswordChange()
*
Overrides ForcePasswordChangeServiceInterface::forceUserPasswordChange
1 call to ForcePasswordChangeService::forceUserPasswordChange()
File
- src/
Service/ ForcePasswordChangeService.php, line 81
Class
Namespace
Drupal\force_password_change\ServiceCode
public function forceUserPasswordChange($uid) {
$this->userData
->set('force_password_change', $uid, 'pending_force', 1);
}