Skip to content

Commit 6c14bec

Browse files
committed
Clarify the removal of key-pairs on password change
1 parent a492bb7 commit 6c14bec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

wp-includes/rest-api/auth/class-wp-rest-key-pair.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,10 @@ public function after_password_reset( WP_User $user ) {
264264
/**
265265
* Fires after the user's password is reset.
266266
*
267+
* When a user resets their password this method will deleted all of
268+
* the application passwords associated with their account. In turn
269+
* this will renders all JSON Web Tokens invalid for their account
270+
*
267271
* @param int $user_id The user ID.
268272
*/
269273
public function profile_update( $user_id ) {

0 commit comments

Comments
 (0)