Title: Force User to Stay SignedIn
Last modified: June 26, 2021

---

# Force User to Stay SignedIn

 *  Resolved [Erfan MHDi](https://wordpress.org/support/users/erfanmhd/)
 * (@erfanmhd)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/)
 * Hello,
 * i was wondering if it’s possible to force UltimateMember Plugin to save user 
   login session without showing “Remember Me” button or checking “Show Remember
   Me” option in um->Setting->Appearance->LoginForm.
 * i want to make user stay signed in after closing the browser without showing 
   the “Remember Me” CheckBox on SignIn form.
 * Thanks.
    -  This topic was modified 4 years, 11 months ago by [Erfan MHDi](https://wordpress.org/support/users/erfanmhd/).

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

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/#post-14601540)
 * Hi [@erfanmhd](https://wordpress.org/support/users/erfanmhd/)
 * Unfortunately, this requires customization on your end. Let’s see if others in
   the forum have done something similar and share their solution here.
 * Regards,
 *  Thread Starter [Erfan MHDi](https://wordpress.org/support/users/erfanmhd/)
 * (@erfanmhd)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/#post-14601558)
 * Hi [@champsupertramp](https://wordpress.org/support/users/champsupertramp/),
   
   I thought maybe there is a better way with ultimate member hooks or filters than
   activating the remember me option in ultimate member and make it checked by js
   on pageload event and hide the box with css display none! Whats ur idea ?
    -  This reply was modified 4 years, 11 months ago by [Erfan MHDi](https://wordpress.org/support/users/erfanmhd/).
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/#post-14601836)
 * Hi [@erfanmhd](https://wordpress.org/support/users/erfanmhd/)
 * You can try hiding the Remember Me / Keep me Signed in field with the following
   CSS code:
    `.um-login .um-field.um-field-c{ display: none !important;}`
 * And then add this PHP code to your theme’s functions.php file or use the code
   snippet plugin to run the code:
 *     ```
       add_action("um_after_login_fields", function(){
   
           echo "<input type='hidden' name='rememberme' value='1'>";
   
       });
       ```
   
 * The above code will keep the Login form to use “Remember Me” in the background
   process.
 * Regards,
 *  Thread Starter [Erfan MHDi](https://wordpress.org/support/users/erfanmhd/)
 * (@erfanmhd)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/#post-14602697)
 * Perfect, Thanks man !
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/#post-14606209)
 * Hi [@erfanmhd](https://wordpress.org/support/users/erfanmhd/)
    Thanks for letting
   us know. I’m closing this thread now.
 * Regards,

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

The topic ‘Force User to Stay SignedIn’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/remember-me-checked-by-default/#post-14606209)
 * Status: resolved