Skip to content

Instantly share code, notes, and snippets.

@phpdreams
Created April 19, 2016 17:09
Show Gist options
  • Save phpdreams/61e6f72b48bff35565cc55784a1e0ff2 to your computer and use it in GitHub Desktop.
Save phpdreams/61e6f72b48bff35565cc55784a1e0ff2 to your computer and use it in GitHub Desktop.
Memberium Cross-Site Login
[raw]
<h2 style="text-align: center;">Transferring to OtherMemberiumSite.com</h2>
<p style="text-align: center;"><img src="/wp-content/uploads/2016/04/icon-loading.gif" /></p>
[/raw]
<form id="memb-login" action="https://othermemberiumsite.com/wp-login.php" method="post">
<input type="hidden" name="log" id="user_login" class="input" value="[memb_contact fields='Email']" />
<input type="hidden" name="pwd" id="user_pass" class="input" value="[memb_contact fields='Password']" />
</form>
[raw]
<script type="text/javascript">
(function ($) {
setTimeout(function(){
$('#memb-login').submit();
}, 3000);
})(jQuery);
</script>
[/raw]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment