CINXE.COM
<!doctype html> <html lang="en-AU"> <head> <title>Log In | Mines and Money</title <!-- Meta Tags --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Log in to your Mines and Money account to access subscriber only offers, content, articles and videos. Log in here."> <!-- Meta Tags END --> <!-- Auth --> <script src="https://minesandmoney.com/_scripts/auth.js?version=164"></script> <!-- Auth END --> <!-- User Redirect --> <script type="text/javascript"> if(login_status == 1) { window.location.href = 'https://minesandmoney.com/?user=redirect'; }; </script> <!-- User Redirect END --> <!-- Canonical Tag --> <link rel="canonical" href="https://minesandmoney.com/user-login.php" /> <!-- Canonical Tag END --> <!-- Open Graph Meta --> <meta property="og:image" content="https://minesandmoney.com/_images/ogmeta.jpg" /> <meta property='og:title' content='Log In | Mines and Money' /> <meta property="og:url" content="https://minesandmoney.com/login" /> <meta property="og:description" content="Log in to your Mines and Money account to access subscriber only offers, content, articles and videos. Log in here." /> <meta property="og:type" content="website" /><!-- Open Graph Meta END --> <!-- JSON-LD --> <!-- https://developers.google.com/search/docs/guides/enhance-site --> <!-- https://search.google.com/structured-data/testing-tool --> <!-- https://schema.org/ExhibitionEvent --> <!-- https://schema.org/Organization --> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "ExhibitionEvent", "name": "Mines and Money", "url": "https://minesandmoney.com/", "organizer": { "@type": "Organization", "name": "Beacon Events", "url": "https://www.beaconevents.com/", "email": "info@beaconevents.com" }, "image": [ "https://minesandmoney.com/_images/minesandmoney-opengraph-image.jpg" ], "description": "Mines and Money is the leading international event series for capital-raising and mining investment with events in Europe, Asia, Australia and the Americas." } </script> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "item": { "@id": "https://minesandmoney.com/", "name": "Home" } }] } </script><!-- JSON-LD END --> <!-- Favicon --> <link rel="icon" href="https://minesandmoney.com/_images/favicon/favicon.ico" sizes="any"> <link rel="icon" href="https://minesandmoney.com/_images/favicon/icon.svg" type="image/svg+xml"> <link rel="apple-touch-icon" href="https://minesandmoney.com/_images/favicon/apple-touch-icon.png"> <link rel="manifest" href="https://minesandmoney.com/manifest.webmanifest"> <!-- Favicon END --> <!-- Bootstrap --> <link href="https://minesandmoney.com/_bootstrap/css/bootstrap.min.css" rel="stylesheet"> <script src="https://minesandmoney.com/_bootstrap/js/bootstrap.bundle.min.js"></script> <!-- Bootstrap END --> <!-- Local Libraries --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> <!-- Local Libraries END --> <!-- Stylesheets --> <link rel="stylesheet" type="text/css" href="https://minesandmoney.com/_css/common.css?version=164"> <link rel="stylesheet" type="text/css" href="https://minesandmoney.com/_css/user.css?version=164"> <!-- Stylesheets END --> <!-- Lazy Loading --> <script defer type="text/javascript" src="https://minesandmoney.com/_scripts/lozad.min.js"></script> <!-- Lazy Loading END --> <!-- Font Awesome --> <script src=https://kit.fontawesome.com/159a58b349.js crossorigin="anonymous"></script> <!-- Font Awesome END --> <!-- Google Tag Manager --> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-T3J7W7T');</script> <!-- End Google Tag Manager --><!-- Google Tag Manager END --> <!-- Validation --> <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.3/es6-shim.min.js"></script> <script src="https://minesandmoney.com/_formvalidation/js/FormValidation.min.js"></script> <script src="https://minesandmoney.com/_formvalidation/js/plugins/Bootstrap5.min.js"></script> <!-- Validation END --> <!-- Set Token --> <script type="text/javascript"> sessionStorage.setItem('token', 'dfd786998e082758be12670d856df755'); </script> <!-- Set Token END --> </head> <body id="top" class="position-relative"> <nav class="container-fluid d-flex flex-column flex-md-row fixed-top"> <div class="header-container-top"> <div class="header-logo is-not-sticky"> <div class="header-logo-image"> <a href="https://minesandmoney.com/" title="Mines and Money (Portfolio)"> <img src="https://minesandmoney.com/_images/mines-and-money.svg?version=164" class="img-fluid" alt="Mines and Money (Portfolio)"> </a> </div> </div> <div class="header-mobile d-flex flex-column justify-content-center align-items-end d-lg-none"> <ul class="nav"> <li class="nav-item"><a class="nav-link btn btn-plain-black color-plain-white" href="#offcanvasMenu" data-bs-toggle="offcanvas" title="Menu" aria-controls="offcanvasMenu" style="padding: 0.5rem 1rem !important;"> <i class="fa-solid fa-bars"></i></a></li> </ul> </div> </div> <div class="header-detail d-none d-lg-flex is-not-sticky"> <div class="header-detail-navigation d-flex flex-column justify-content-between align-items-center align-items-md-end"> <div class="header-detail-navigation-desktop d-none d-md-flex flex-row justify-content-center align-items-center is-not-sticky"> <nav id="primary-navigation" class="navbar navbar-expand-md align-items-center mr-3 mt-0 "> <ul class="navbar-nav"> <!-- Menu --> <li class="nav-item dropdown"> <a class="nav-link dropdown-navigation" href="https://minesandmoney.com/#" aria-haspopup="true" aria-expanded="false" title="Events">Events<span class="color-primary ps-2"><i class="fa-regular fa-angle-down"></i></span></a> <ul class="dropdown-menu"> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/upcoming-events" title="Upcoming Events">Upcoming Events</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/miami/" title="Miami">Miami</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/imarc/" title="Sydney">Sydney</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/london/" title="London">London</a> </li> </ul> </li> <!-- Menu END --> <!-- Menu --> <li class="nav-item dropdown"> <a class="nav-link dropdown-navigation" href="https://minesandmoney.com/ " aria-haspopup="true" aria-expanded="false" title="Opportunities">Opportunities<span class="color-primary ps-2"><i class="fa-regular fa-angle-down"></i></span></a> <ul class="dropdown-menu"> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/mining-company" title="I'm a mining company">I'm a mining company</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/investor" title="I'm an investor">I'm an investor</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/become-a-sponsor" title="Become a sponsor">Become a sponsor</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/apply-to-be-a-partner" title="Apply to be a Partner">Apply to be a Partner</a> </li> <li> <a class="dropdown-item dropdown-navigation" href="https://minesandmoney.com/interest" title="Register Your Interest">Register Your Interest</a> </li> </ul> </li> <!-- Menu END --> <!-- Menu --> <li class="nav-item"> <a class="nav-link dropdown-navigation" href="https://minesandmoney.com/tv" title="Mines and Money TV">Mines and Money TV</a> </li> <!-- Menu END --> <!-- Menu --> <li class="nav-item"> <a class="nav-link dropdown-navigation" href="https://minesandmoney.com/news" title="News">News</a> </li> <!-- Menu END --> <!-- Menu --> <li class="nav-item"> <a class="nav-link dropdown-navigation" href="https://minesandmoney.com/contact" title="Contact">Contact</a> </li> <!-- Menu END --> </ul> </nav> <ul id="dropdown-user-container" class="list-inline mb-0"> <li class="list-inline-item ps-4"> <button aria-label="User dropdown" class="btn btn-tertiary dropdown-toggle" type="button" id="dropdown-user-button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa-solid fa-user"></i></button> <ul class="dropdown-menu" aria-labelledby="dropdown-user-button"> <div id="auth_true" style="display: none;"> <li><a class="dropdown-item" title="Log out" data-action="logout">Log Out</a></li> </div> <div id="auth_false" style="display: none;"> <li><a class="dropdown-item" href="https://minesandmoney.com/login" title="Log In">Log In</a></li> <li><a class="dropdown-item" href="https://minesandmoney.com/users-register" title="Register for an account">Register for an account</a></li> </div> <script type="text/javascript"> if(login_status == 1) { $("#auth_false").remove(); $('#auth_true').show(); } else { $("#auth_true").remove(); $('#auth_false').show(); } </script> </ul> </li> </ul> </div> </div> </div> </nav> <div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasMenu" aria-labelledby="offcanvasMenuLabel"> <div class="offcanvas-header d-flex justify-content-end"> <button type="button" class="btn-close btn-close-white text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button> </div> <div class="offcanvas-body"> <div class="row h-100"> <div class="col-12 col-sm-8 offset-sm-2 col-md-6 offset-md-3 d-flex flex-column justify-content-center"> <div class="d-grid gap-2"> <a class="btn btn-secondary offcanvas-navigation" href="https://minesandmoney.com/" title="Home" role="button">Home</a> <div class="dropdown"> <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdown127" data-bs-toggle="dropdown" aria-expanded="false"> Events </button> <ul class="dropdown-menu" aria-labelledby="dropdown127"> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/#">Events</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/upcoming-events" title="Upcoming Events">Upcoming Events</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/miami/" title="Miami">Miami</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/imarc/" title="Sydney">Sydney</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/london/" title="London">London</a></li> </ul> </div> <div class="dropdown"> <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdown128" data-bs-toggle="dropdown" aria-expanded="false"> Opportunities </button> <ul class="dropdown-menu" aria-labelledby="dropdown128"> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/ ">Opportunities</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/mining-company" title="I'm a mining company">I'm a mining company</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/investor" title="I'm an investor">I'm an investor</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/become-a-sponsor" title="Become a sponsor">Become a sponsor</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/apply-to-be-a-partner" title="Apply to be a Partner">Apply to be a Partner</a></li> <li><a class="dropdown-item offcanvas-navigation" href="https://minesandmoney.com/interest" title="Register Your Interest">Register Your Interest</a></li> </ul> </div> <a class="btn btn-secondary offcanvas-navigation" href="https://minesandmoney.com/tv" title="Mines and Money TV" role="button">Mines and Money TV</a> <a class="btn btn-secondary offcanvas-navigation" href="https://minesandmoney.com/news" title="News" role="button">News</a> <a class="btn btn-secondary offcanvas-navigation" href="https://minesandmoney.com/contact" title="Contact" role="button">Contact</a> <div id="auth_offcanvas_true" style="display: none;"> <a class="btn btn-secondary offcanvas-navigation" href="#" data-action="logout" title="Log out" role="button">Log Out</a> </div> <div id="auth_offcanvas_false" style="display: none;"> <a class="btn btn-secondary mb-2 offcanvas-navigation" href="https://minesandmoney.com/login" title="Log in" role="button">Log In</a> <a class="btn btn-secondary offcanvas-navigation" href="https://minesandmoney.com/users-register" title="Register for an account" role="button">Register for an account</a> </div> <script type="text/javascript"> if(login_status == 1) { $("#auth_offcanvas_false").remove(); $('#auth_offcanvas_true').show(); } else { $("#auth_offcanvas_true").remove(); $('#auth_offcanvas_false').show(); } </script> </div> </div> </div> </div> </div> <!-- Introduction --> <section id="introduction" class="container-fluid general-container sub-page"> <div class="container px-5"> <div class="row gx-5"> <div class="col-12"> <section id="breadcrumbs"> <div aria-label="breadcrumb"> <ol class="mb-0 breadcrumb"> <li class="breadcrumb-item"> <a href="https://minesandmoney.com/login" title="Log in" class="auth_false">Log In</a> <a href="#" data-action="logout" title="Log out" class="auth_true"><span class="username"></span> (Log Out)</a> </li> <li class="breadcrumb-item"><a href="https://minesandmoney.com/" title="Home">Home</a></li> <li class="breadcrumb-item active" aria-current="page">Log In</li> </ol> </div> <script type="text/javascript"> if(login_status == 1) { $(".auth_false").remove(); $('.auth_true').show(); var user_details = JSON.parse(localStorage.getItem('user')); $('.username').html(user_details.userFirst+" "+user_details.userLast); } else { $(".auth_true").remove(); $('.auth_false').show(); } </script> </section> </div> <div class="col-12"> <!-- Introduction --> <div class="offset-heading"> <h2>WELCOME TO MINES AND MONEY!<span>LOG IN</span></h2> </div> <div class="row mb-2"> <div class="col-12"> <p>Log in to your Mines and Money account to access subscriber only offers, content, articles and videos.</p> </div> </div> <!-- Introduction END --> </div> </div> </div> </section> <!-- Introduction END --> <!-- Log In --> <section id="users" class="container-fluid general-container sub-page pt-0"> <div class="container px-5"> <div class="row gx-5"> <div class="col-12"> <form id="form-user-login" name="form-user-login" class="general-form"> <div class="row mb-3"> <div class="col-12 col-lg-6 col-xxl-4"> <input type="text" id="user-username" name="user-username" class="form-control" placeholder="Email address" aria-label="Email address"> </div> </div> <div class="row mb-3"> <div class="col-12 col-lg-6 col-xxl-4"> <input type="password" id="user-password" name="user-password" class="form-control" placeholder="Password" aria-label="Password"> </div> </div> <div class="row mb-3"> <div class="col-12 col-lg-6 col-xxl-4"> <button type="submit" class="btn btn-tertiary">Log in</button> </div> </div> </form> </div> <div class="col-12"> <ul class="list-unstyled"> <li><a href="https://minesandmoney.com/users-reset" class="body-navigation">Cannot access your account?</a></li> <li><a href="https://minesandmoney.com/users-register" class="body-navigation">Register for an account</a></li> </ul> </div> </div> </div> </section> <!-- Log In END --> <section id="event-cta" class="container-fluid general-container general-container-padding event-cta"> <div class="container"> <div class="row"> <div class="col-12 d-flex justify-content-center"> <ul class="list-inline"> <li class="list-inline-item"><a href="https://minesandmoney.com/become-a-sponsor" title="Become a Sponsor">Become a Sponsor</a></li> <li class="list-inline-item"><a href="https://minesandmoney.com/mining-company" title="I'm a Mining Company">I'm a Mining Company</a></li> <li class="list-inline-item"><a href="https://minesandmoney.com/investor" title="I'm an Investor">I'm an Investor</a></li> </ul> </div> </div> </div> </section> <!-- Footer --> <footer class="container-fluid general-container footer"> <div class="container"></div> <div class="container px-5"> <div class="row"> <div class="col-12 col-md-4"> <h4>About Us</h4> <p>Mines and Money is the leading international event series connecting sophisticated investors from around the world with mining company management teams both online and in-person.</p> <h4>BROUGHT TO YOU BY</h4> <div class="powered-by"> <a href="https://www.beaconevents.com/" title="Beacon Events" target="_blank" rel="noreferrer noopener"><img src="https://minesandmoney.com/_images/logo-beacon.svg" alt="Beacon Events" class="img-fluid" style="width: 57%;"></a> </div> <!-- <ul class="list-unstyled contact"> <li><a href="mailto:connect@minesandmoney.com" title="Email">connect@minesandmoney.com</a></li> <li>AU: <a href="tel:+610390085946" title="Call - Australia">+61 (0) 3 9008 5946</a></li> <li>HK: <a href="tel:+85222190111" title="Call - Hong Kong">+852 2219 0111</a></li> <li>UK: <a href="tel:+4402080043888" title="Call - United Kingdom">+44 (0) 20 8004 3888</a></li> </ul> --> </div> <div class="col-12 col-md-4 beware-of-scammers"> <h4>Beware of Scammers</h4> <p style="width: 90%;">Please beware of people trying to contact you from third parties, claiming to be associated with Mines and Money. We would like to reassure you that we do not sell our data to third parties and that this is a scam. We urge you not to give out credit card details or other information. For more information, please refer to our <a href="https://www.beaconevents.com/privacy-policy/" target="_blank" rel="noreferrer noopener" title="Privacy Policy">privacy policy</a>.</p> </div> <div class="col-12 col-md-4"> <h4>Get in touch</h4> <ul class="list-inline social"> <li class="list-inline-item"> <a href="https://www.linkedin.com/company/mines-and-money/" target="_blank" rel="noreferrer noopener" title="LinkedIn"><i class="fab fa-linkedin-in fa-2x fa-inverse"></i></a> </li> <li class="list-inline-item"> <a href="https://www.youtube.com/channel/UCkZqn833lDkiYVpGrnUVXCw" target="_blank" rel="noreferrer noopener" title="YouTube"><i class="fab fa-youtube fa-2x fa-inverse"></i></a> </li> <li class="list-inline-item"> <a href="https://twitter.com/MinesAndMoney" target="_blank" rel="noreferrer noopener" title="Twitter"><i class="fa-brands fa-x-twitter fa-2x fa-inverse"></i></a> </li> <li class="list-inline-item"> <a href="https://www.facebook.com/minesandmoney/" target="_blank" rel="noreferrer noopener" title="Facebook"><i class="fab fa-facebook-f fa-2x fa-inverse"></i></a> </li> </ul> <ul class="list-unstyled get-in-touch"> <li><a href="https://minesandmoney.com/interest" title="Subscribe to email alerts" target="_blank" rel="noreferrer noopener">SUBSCRIBE TO EMAIL ALERTS</a></li> <li><a href="https://minesandmoney.com/contact" title="Contact us" target="_blank" rel="noreferrer noopener">contact us</a></li> </ul> </div> <div class="col-12 copyright"> <ul class="list-inline"> <li class="list-inline-item">Copyright 漏 2024 Beacon Events Limited. All rights reserved.</li> <li class="list-inline-item"><a href="https://www.beaconevents.com/privacy-policy/" target="_blank" rel="noreferrer noopener" title="Privacy Policy">Privacy Policy</a></li> <li class="list-inline-item"><a href="https://www.beaconevents.com/terms-and-conditions/" target="_blank" rel="noreferrer noopener" title="Terms of Use">Terms of Use</a></li> </ul> <ul class="list-inline"> <li class="list-inline-item"><a href="https://minesandmoney.com/sitemap/" title="Sitemap">Sitemap</a></li> </ul> </div> </div> </div> </footer> <!-- Footer END --> <!-- Logout Modal --> <div class="modal fade" id="modal-logout" tabindex="-1" aria-labelledby="modal-logout-label" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Log Out</h5> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <p>Are you sure you'd like to log out?</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-invalid" data-bs-dismiss="modal">Cancel</button> <button type="button" class="btn btn-valid" data-action="logout" data-bs-dismiss="modal">Yes, log out</button> </div> </div> </div> </div> <!-- Logout Modal END --> <!-- Register Modal --> <div class="modal modal-register fade" id="modal-register" tabindex="-1" aria-labelledby="modal-register-label" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Register for an account</h5> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <p>It looks like you're trying to log in with an email address that isn't registered with our system. Registering is both quick and easy! Just click the button below to sign up.</p> <p><strong>NOTE:</strong> If you're trying to access presentations or content associated with your exhibition attentance please sign up with the email address used for the exhibition participation.</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-invalid" data-bs-dismiss="modal">Cancel</button> <a href="https://minesandmoney.com/users-register" role="button" class="btn btn-valid">Register now</a> </div> </div> </div> </div> <!-- Register Modal END --> <!-- Processing Modal --> <div class="modal fade" id="modal-processing" tabindex="-1" aria-labelledby="modal-processing-label" aria-hidden="true" data-bs-keyboard="false" data-bs-backdrop="static"> <div class="modal-dialog modal-dialog-centered modal-sm"> <div class="modal-content"> <div class="modal-body"> <span><i class="fa-duotone fa-gear fa-spin"></i></span>Processing... </div> </div> </div> </div> <!-- Processing Modal END --> <!-- Opt-In Modal --> <div class="modal modal-opt-in fade" id="modal-opt-in" tabindex="-1" aria-labelledby="modal-opt-in-label" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">It looks like you're opted-out for emails</h5> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <p>The email address you have entered has <strong>opted-out</strong> of email communications from us.</p> <p>You will need to opt back in to receive a response from this form submission.</p> <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script> <script> hbspt.forms.create({ region: "na1", portalId: "2819922", formId: "5a827da2-86c1-4a23-ad9b-0ebcd5fd29b2" }); </script> <div class="alert alert-default-grey color-text-grey mt-2"><strong>PLEASE NOTE:</strong> This action will only opt you back into the email communications you specify when you manage your email preferences. You will be able to choose the type and frequency of communications you receive from us.</div> <p>If you would prefer not to opt back in please <a href="https://minesandmoney.com/contact" title="Contact">contact us</a> directly via email or phone.</p> </div> </div> </div> </div> <!-- Opt-In Modal END --> <div class="toast-container"> <div id="toast-success" class="toast" role="alert" aria-live="assertive" aria-atomic="true"> <div class="toast-header"> <h4>Success</h4> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button> </div> <div class="toast-body"> <span class="toast-success-content"></span> </div> </div> <div id="toast-error" class="toast" role="alert" aria-live="assertive" aria-atomic="true"> <div class="toast-header"> <h4>Error</h4> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button> </div> <div class="toast-body"> <span class="toast-error-content">There has been an error.</span> </div> </div> <div id="toast-failed" class="toast" role="alert" aria-live="assertive" aria-atomic="true"> <div class="toast-header"> <h4>Failed</h4> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button> </div> <div class="toast-body"> <span class="toast-failed-content">Process failed.</span> </div> </div> </div> </body> </html> <!-- Check JavaScript --> <noscript><meta http-equiv="refresh" content="0; url=no-js.html" /></noscript> <!-- Check JavaScript END --> <script type="module"> var document_referrer; if(document.referrer.includes('imarcglobal.com')) { document_referrer = 'internal'; } else { document_referrer = 'external'; }; import { initializeApp } from "https://www.gstatic.com/firebasejs/9.6.10/firebase-app.js"; import { getAuth, signInWithEmailAndPassword, signOut, onAuthStateChanged } from "https://www.gstatic.com/firebasejs/9.6.10/firebase-auth.js"; import { getFirestore, collection, getDoc, doc } from "https://www.gstatic.com/firebasejs/9.6.10/firebase-firestore.js"; const firebaseConfig = { apiKey: "AIzaSyAx_EIPKPKR_iOgw1YTBNPV6Fagqd60VzI", authDomain: "mining-beacon.firebaseapp.com", databaseURL: "https://mining-beacon.firebaseio.com", projectId: "mining-beacon", appId: "1:97292462180:web:dc191087d57d0e8227d771" }; initializeApp(firebaseConfig); const auth = getAuth(); const db = getFirestore(); const collection_reference = collection(db, 'users'); onAuthStateChanged(auth, (user) => { if (user) { console.log("Logged in."); const doc_reference = doc(db, 'users', user.uid); getDoc(doc_reference).then((results) => { const user_object = results.data(); if (!localStorage.getItem('user')) { localStorage.setItem('user', JSON.stringify(results.data())); }; }); if (!localStorage.getItem('username')) { localStorage.setItem('username', user.email); login_status = 1; if(document_referrer === 'internal') { setTimeout(function (){ window.history.go(-1); }, 2000); } else { setTimeout(function (){ window.location.href = 'https://minesandmoney.com/'; }, 2000); }; } else { if(document_referrer === 'internal') { setTimeout(function (){ window.history.go(-1); }, 2000); } else { setTimeout(function (){ window.location.href = 'https://minesandmoney.com/'; }, 2000); }; }; } else { console.log("Not logged in."); if (localStorage.getItem('username')) { localStorage.removeItem('username'); login_status = 0; setTimeout(function (){ location.reload(); }, 2500); }; }; }); $('[data-action="logout"]').on('click', function(e) { signOut(auth).then(() => { localStorage.removeItem('username'); var toast = new bootstrap.Toast($("#toast-success")); var toast_message = "Logged out."; $('.toast-success-content').html(toast_message); toast.show(); setTimeout(function (){ window.location.href = 'https://minesandmoney.com/'; }, 2000); }).catch((error) => { }); }); $(function(e) { const form = document.getElementById('form-user-login'); const fv = FormValidation.formValidation(form, { fields: { 'user-username': { validators: { notEmpty: { message: 'An email address is required' }, stringLength: { min: 6, max: 200, message: 'The email address must be more than 6 and less than 200 characters long' }, emailAddress: { message: 'The value is not a valid email address' } } }, 'user-password': { validators: { notEmpty: { message: 'A password is required' }, stringLength: { min: 6, max: 200, message: 'The pasword must be more than 6 and less than 200 characters long' } } }, }, plugins: { trigger: new FormValidation.plugins.Trigger(), bootstrap: new FormValidation.plugins.Bootstrap5(), submitButton: new FormValidation.plugins.SubmitButton(), }, } ) .on('core.form.valid', function() { var formData = new FormData(form); $('#form-user-login input').prop('disabled', true); $('#form-user-login button').prop('disabled', true); const userLoginEmail = form['user-username'].value; const userLoginPasword = form['user-password'].value; const auth = getAuth(); signInWithEmailAndPassword(auth, userLoginEmail, userLoginPasword).then(result => { localStorage.setItem('username', result.user.email); var toast = new bootstrap.Toast($("#toast-success")); var toast_message = "Credentials accepted."; $('.toast-success-content').html(toast_message); toast.show(); }).catch(error => { const errorCode = error.code; const errorMessage = error.message; if(errorCode == 'auth/user-not-found') { var auth_message = "User doesn't exist."; $('#modal-register').modal('show'); } else { var auth_message = "Authentication failed."; }; $('#form-user-login input').prop('disabled', false); $('#form-user-login button').prop('disabled', false); fv.resetForm(); document.getElementById("form-user-login").reset(); var toast = new bootstrap.Toast($("#toast-failed")); var toast_message = auth_message; $('.toast-failed-content').html(toast_message); toast.show(); signOut(auth).then(() => { }).catch((error) => { }); }); }); }); </script> <script type="text/javascript" src="https://minesandmoney.com/_scripts/page-tracking.js?version=164"></script> <script type="text/javascript" src="https://minesandmoney.com/_scripts/document-ready.js?version=164"></script>