<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>
PKC Dashboard
</title>
<link href="//fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic" rel="stylesheet" type="text/css">
<link crossorigin="anonymous" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" rel="stylesheet">
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="https://mdweb.mmsi2.com/pkc/root/css/main.css" rel="stylesheet">
<link href="https://mdweb.mmsi2.com/pkc/root/css/client_branding.css" rel="stylesheet">
<link href="https://mdweb.mmsi2.com/pkc/root/assets/favicon.ico" rel="shortcut icon">
<link href="https://mdweb.mmsi2.com/pkc/root/assets/favicon.ico" rel="apple-touch-icon">
<link href="MD_icon.png" rel="apple-touch-icon">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<script crossorigin="anonymous" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" src="//code.jquery.com/jquery-2.2.4.min.js">
</script>
<script crossorigin="anonymous" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js">
</script>
<style>
#error-message {
display : none;
}
</style>
</head>
<body>
<form action="https://mdweb.mmsi2.com/pkc/default.pl" method="post" name="reset">
<input name="action" type="hidden" value="reset">
</form>
<form action="https://mdweb.mmsi2.com/pkc/default.pl" method="post" name="newmember">
<input name="action" type="hidden" value="newmember">
</form>
<main class="login content">
<form method="post" name="loginForm" onsubmit="return false;">
<div class="form-group" style="padding: 20px 0px;">
<img alt="Membership Director Logo" class="img-responsive" src="https://mdweb.mmsi2.com/pkc/root/assets/PCBR_Logo_Horizontal_280x83.png" style="margin: 0 auto;">
</div>
<div class="form-group">
<label class="sr-only" for="email">
MLS Login
</label>
<div class="input-group">
<span class="input-group-addon">
<span class="username-icon">
</span>
</span>
<input class="form-control" id="email" placeholder="MLS Login" type="text">
</div>
</div>
<div class="form-group">
<label class="sr-only" for="password">
Password
</label>
<div class="input-group">
<span class="input-group-addon">
<span class="password-icon">
</span>
</span>
<input class="form-control" id="password" placeholder="Password" type="password">
</div>
</div>
<div class="alert alert-danger" id="error-message">
</div>
<div class="form-group">
<button class="green large" id="btn-login" type="submit">
Log In
</button>
</div>
<div class="form-group">
<a href="javascript: void(0)" onclick="document.reset.submit();">
Forgot/Change Password
</a>
</div>
</form>
</main>
<!--[if IE 8]>
<script src="//cdnjs.cloudflare.com/ajax/libs/ie8/0.2.5/ie8.js"></script>
<![endif]-->
<!--[if lte IE 9]>
<script src="https://cdn.auth0.com/js/polyfills/1.0/base64.min.js"></script>
<script src="https://cdn.auth0.com/js/polyfills/1.0/es5-shim.min.js"></script>
<![endif]-->
<script src="https://cdn.auth0.com/js/auth0/9.10/auth0.min.js">
</script>
<script src="https://cdn.auth0.com/js/polyfills/1.0/object-assign.min.js">
</script>
<script>
window.addEventListener('load', function() {
var config = JSON.parse(decodeURIComponent(escape(window.atob('eyJhc3NldHNVcmwiOiIiLCJhdXRoMERvbWFpbiI6Im1tc2ktcGtjLmF1dGgwLmNvbSIsImF1dGgwVGVuYW50IjoibW1zaS1wa2MiLCJjbGllbnRDb25maWd1cmF0aW9uQmFzZVVybCI6Imh0dHBzOi8vbW1zaS1wa2MuYXV0aDAuY29tLyIsImNhbGxiYWNrT25Mb2NhdGlvbkhhc2giOmZhbHNlLCJjYWxsYmFja1VSTCI6Imh0dHBzOi8vbWR3ZWIubW1zaTIuY29tL3NpbXBsZXNhbWwvbW9kdWxlLnBocC9zYW1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8vbWR3ZWIubW1zaTIuY29tL3BrYy9sb2dpbi5waHA/aXNzPWh0dHBzJTNBJTJGJTJGbW1zaS1wa2MuYXV0aDAuY29tJTJGIiwiX2NzcmYiOiIxQ0Nvak1pRi1kSUZEVHNwOF9ZYlZBMjR3b2VsRE9tUC1sMjQiLCJfaW50c3RhdGUiOiJkZXByZWNhdGVkIiwic3RhdGUiOiJoS0ZvMlNCa1QxOXZlbnBMU1Zsc01rdDJSSEp6T1ZSWWRVRlZaMEpFWms5T2FuZFRNS0Z1cFd4dloybHVvM1JwWk5rZ1owVkJibFo2TVVaaExWZE5hM04zWmt3MWNtWTRVbmh1YTBGVGNFbDBSVUtqWTJsazJTQnNRa3ROVHpOSU4xcGlha3cxUmxNM1RtcE9ZbFV5T0hoaFFURlVSblUxY1EifSwid2lkZ2V0VXJsIjoiaHR0cHM6Ly9jZG4uYXV0aDAuY29tL3cyL2F1dGgwLXdpZGdldC01LjIubWluLmpzIiwiaXNUaGlyZFBhcnR5Q2xpZW50IjpmYWxzZSwiYXV0aG9yaXphdGlvblNlcnZlciI6eyJ1cmwiOiJodHRwczovL21tc2ktcGtjLmF1dGgwLmNvbSIsImlzc3VlciI6Imh0dHBzOi8vbW1zaS1wa2MuYXV0aDAuY29tLyJ9LCJjb2xvcnMiOnt9fQ=='))));
var loginHint = config.extraParams.login_hint;
var params = Object.assign({
domain: config.auth0Domain,
clientID: config.clientID,
redirectUri: config.callbackURL,
prefill: loginHint ? {
email: loginHint,
username: loginHint
} : null,
responseType: 'code'
}, config.internalOptions);
var webAuth = new auth0.WebAuth(params);
var databaseConnection = 'pkcApiConnection';
function login(e) {
e.preventDefault();
var username = document.getElementById('email').value;
var password = document.getElementById('password').value;
webAuth.login({
realm: databaseConnection,
username: username,
password: password
}, function(err) {
if (err) displayError(err);
});
}
function signup() {
var email = document.getElementById('email').value;
var password = document.getElementById('password').value;
webAuth.redirect.signupAndLogin({
connection: databaseConnection,
email: email,
password: password
}, function(err) {
if (err) displayError(err);
});
}
function displayError(err) {
var errorMessage = document.getElementById('error-message');
errorMessage.innerHTML = err.description;
errorMessage.style.display = 'block';
}
if (typeof loginHint !== "undefined") {
$("#email").val(loginHint);
$("#password").focus();
}
document.getElementById('btn-login').addEventListener('click', login);
});
</script>
</body>
</html>