Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-beta10
Description: 

The following two methods have been added to the \Drupal\user\UserInterface:

  • setExistingPassword()
  • checkExistingPassword()

The methods are needed if the user account of the current user is to be validated and protected user fields (mail or password) have changed. For more details on how those methods are used see https://www.drupal.org/node/2460247.

Impacts: 
Module developers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done