Skip to main content
added 22 characters in body
Source Link
bueltge
  • 17.1k
  • 7
  • 61
  • 97

I have no working example, only hints for thinking about this topic. The function to set a new password via the function of the core is right. But if you are using this function on the user update page, then the user will be automatically getsautomatic get logged out as it is deleting the cache of the logged in user-in users.

After the logout, can you hook in wp and create a new login. You must do this, before anything is sendsent via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this question and his answers helpshelp you, the same topic.

I have no working example, only hints for thinking about this topic. The function to set a new password via function of core is right. But if you are using this function on user update page, then user will be automatically gets logged out as it is deleting cache of logged in user.

After the logout, can you hook in wp and create a new login. You must do this, before anything is send via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this question and his answers helps you, same topic.

I have no working example, only hints for thinking about this topic. The function to set a new password via the function of the core is right. But if you are using this function on the user update page, then the user will be automatic get logged out as it is deleting the cache of the logged-in users.

After the logout, can you hook in wp and create a new login. You must do this before anything is sent via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this question and his answers help you, the same topic.

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I have no working example, only hints for thinking about this topic. The function to set a new password via function of core is right. But if you are using this function on user update page, then user will be automatically gets logged out as it is deleting cache of logged in user.

After the logout, can you hook in wp and create a new login. You must do this, before anything is send via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this questionquestion and his answers helps you, same topic.

I have no working example, only hints for thinking about this topic. The function to set a new password via function of core is right. But if you are using this function on user update page, then user will be automatically gets logged out as it is deleting cache of logged in user.

After the logout, can you hook in wp and create a new login. You must do this, before anything is send via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this question and his answers helps you, same topic.

I have no working example, only hints for thinking about this topic. The function to set a new password via function of core is right. But if you are using this function on user update page, then user will be automatically gets logged out as it is deleting cache of logged in user.

After the logout, can you hook in wp and create a new login. You must do this, before anything is send via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this question and his answers helps you, same topic.

Source Link
bueltge
  • 17.1k
  • 7
  • 61
  • 97

I have no working example, only hints for thinking about this topic. The function to set a new password via function of core is right. But if you are using this function on user update page, then user will be automatically gets logged out as it is deleting cache of logged in user.

After the logout, can you hook in wp and create a new login. You must do this, before anything is send via 'headers'.

`add_action( 'wp', 'your_login' );`

Also think about the cookie of the login - wp_set_auth_cookie! Also you can delete the current cache for the user - wp_cache_delete().

Maybe this question and his answers helps you, same topic.