latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Disable "Remember Me"

Home Forums Community Forum Disable "Remember Me"

Tagged: 

This topic contains 3 replies, has 3 voices. Last updated by  Bruce 3 years, 8 months ago.

Topic Author Topic
Posted: Saturday Apr 20th, 2013 at 1:50 pm #48008

Is there any way to remove the remember me function? We are using Duo Auth (would love integration). I have tried many plugins, but none remove the button from the Pro login widget.

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Sunday Apr 21st, 2013 at 8:14 am #48032

You could probably just hide it with CSS. Try

[hilite pre_code]
div.ws-plugin--s2member-pro-login-widget-remember-me {display: none !important;}
[/hilite]

Other than that, you’d have to edit the PHP file for the pro login widget. If you do, work on a copy in the must-use plugins directory so it doesn’t get replaced when you update s2Member. /wp-content/mu-plugins/

I hope that helps.

Posted: Saturday Apr 27th, 2013 at 10:21 am #48573

Where would that be at? Cannot find the file.

Posted: Saturday Apr 27th, 2013 at 7:18 pm #48600
Bruce
Username: Bruce
Staff Member

Where would that be at? Cannot find the file.

The Pro Login Widget is generated in this file:

/s2member-pro/includes/classes/login-widget.inc.php

The CSS Snippet that Cristián gave you could be put in your theme’s style.css file.

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

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.