Title: Change/hide reauth message
Last modified: August 31, 2016

---

# Change/hide reauth message

 *  Resolved [Gabriel Tadeu](https://wordpress.org/support/users/gtso86/)
 * (@gtso86)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/changehide-reauth-message/)
 * Hello, I would like to hide the “Please log in to continue.” after redirect. 
   Can someone please explain how to do these? I already tried using `add_filter('
   tml_action_template_message' )` without any success
 * Thanks in advance!
 * [https://wordpress.org/plugins/theme-my-login/](https://wordpress.org/plugins/theme-my-login/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jeff Farthing](https://wordpress.org/support/users/jfarthing84/)
 * (@jfarthing84)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/changehide-reauth-message/#post-7085271)
 *     ```
       function tml_remove_reauth_message() {
           $tml = Theme_My_Login::get_object();
   
           if ( in_array( 'reauth', $tml->errors->get_error_codes() ) ) {
               $tml->errors->remove('reauth');
           }
       }
       add_action('template_redirect', 'tml_remove_reauth_message', 12);
       ```
   
 *  Thread Starter [Gabriel Tadeu](https://wordpress.org/support/users/gtso86/)
 * (@gtso86)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/changehide-reauth-message/#post-7085273)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Change/hide reauth message’ is closed to new replies.

 * ![](https://ps.w.org/theme-my-login/assets/icon-256x256.png?rev=1891232)
 * [Theme My Login](https://wordpress.org/plugins/theme-my-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-my-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-my-login/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-my-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-my-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-my-login/reviews/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)
 * [reauth](https://wordpress.org/support/topic-tag/reauth/)

 * 2 replies
 * 2 participants
 * Last reply from: [Gabriel Tadeu](https://wordpress.org/support/users/gtso86/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/changehide-reauth-message/#post-7085273)
 * Status: resolved