Location: PHPKode > scripts > WebsiteMemberManager > members-section/admin/php/login.php
<?php
update_to_latest();//check database is up-to-date
include_once("header.html");
$WMM_Secure = new WMM_Secure();
$WMMcrypted_pass=WMMcrypt($password,$username);
if ($WMM_Secure->adminLogin($username,$WMMcrypted_pass) )
{
 $page_location = (isset($_SESSION['the_admin_page']))? "Location: ". $_SESSION['the_admin_page']: "Location: ./";
 header($page_location);
}
else
{
 $feedback = new feedbackBox();
 $feedback->setShow(LOGIN_ERROR_MESSAGE, "Login ERROR");
 include("login.html");
 include("footer.html");
}
?>
Return current item: WebsiteMemberManager