carrefoures-prod.mirakl.net Open in urlscan Pro
79.125.50.5  Public Scan

Submitted URL: https://carrefoures-prod.mirakl.net/
Effective URL: https://carrefoures-prod.mirakl.net/login
Submission: On August 22 via manual from ES — Scanned from ES

Form analysis 1 forms found in the DOM

POST /authenticate

<form action="/authenticate" method="POST" id="loginForm" class="cssform form-horizontal" autocomplete="off"><input type="hidden" name="_csrf" value="0b4e1577-d192-4ee2-9d4e-7da67408d98b">
  <div class="form-group" id="login-username-group">
    <div class="col-sm-12">
      <div class="input-group">
        <span class="input-group-addon">
          <i class="glyphicon-pro user"></i>
        </span>
        <input type="text" id="username" name="username" required="true" class="form-control" placeholder="Tu inicio de sesión" value="">
      </div>
    </div>
  </div>
  <div class="form-group" id="login-password-group" style="display: none;">
    <div class="col-sm-12">
      <div class="input-group">
        <span class="input-group-addon">
          <i class="glyphicon-pro lock"></i>
        </span>
        <input type="password" id="password" name="password" class="form-control" placeholder="Tu contraseña">
      </div>
    </div>
    <div class="col-sm-12 lost-password">
      <a id="resetPassword" href="/mmp/reset-password">
                                        <span>¿Has olvidado tu contraseña?</span>
                                    </a>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-12">
      <button type="submit" id="submitButton" class="btn btn-lg btn-login btn-primary">
        <i id="submitButtonSpinner" class="glyphicon-pro refresh fa-spin icon-right-offset" style="display: none;"></i>
        <span id="submitLabel">Siguiente</span>
      </button>
    </div>
    <div class="col-sm-12" id="remember-me-group" style="display: none;">
      <div class="checkbox">
        <label class="control-label">
          <input type="hidden" name="__spring_security_remember_me">
          <input type="checkbox" name="remember-me" id="remember_me">
          <span>Recuérdame</span>
        </label>
      </div>
    </div>
  </div>
  <script type="text/javascript">
    /*<![CDATA[*/
    $(function() {
      var nextLabel = "Siguiente";
      var signInLabel = "Iniciar sesi\u00F3n";
      var recaptchaEnabled = false;
      var passwordStep = false;
      var submitButton = $('#submitButton');
      var submitLabel = $('#submitLabel');
      var usernameInput = $('#username');
      var passwordInput = $('#password');
      var submitButtonSpinner = $('#submitButtonSpinner');
      var loginPasswordGroup = $('#login-password-group');
      var rememberMeGroup = $('#remember-me-group');

      function displayLoginStep() {
        usernameInput.prop('readonly', false);
        submitLabel.text(nextLabel);
        loginPasswordGroup.hide();
        rememberMeGroup.hide();
        passwordInput.prop('required', false);
        var val = usernameInput.val();
        usernameInput.val('');
        usernameInput.focus();
        usernameInput.val(val);
        passwordStep = false;
      }

      function displayPasswordStep() {
        usernameInput.prop('readonly', true);
        submitButtonSpinner.hide();
        submitButton.prop('disabled', false);
        submitLabel.text(signInLabel);
        loginPasswordGroup.show();
        rememberMeGroup.show();
        passwordInput.prop('required', true);
        passwordInput.focus();
        passwordStep = true;
      }
      usernameInput.click(function(evt) {
        if (passwordStep) {
          displayLoginStep();
        }
      });
      usernameInput.on('change', function() {
        if (usernameInput.val() !== "") {
          $('#resetPassword').attr('href', '/mmp/reset-password?email=' + encodeURIComponent(usernameInput.val()));
        } else {
          $('#resetPassword').attr('href', '/mmp/reset-password');
        }
      });
      $('#loginForm').submit(function(evt) {
        if (!passwordStep) {
          evt.preventDefault();
          evt.stopPropagation();
          submitButton.prop('disabled', true);
          submitButtonSpinner.show();
          $.post("/login/option", {
            "username": usernameInput.val(),
            "_csrf": $("meta[name='_csrf']").attr("content")
          }).done(function(data) {
            if (data.option !== 'password') {
              window.location.href = data.url;
            } else {
              displayPasswordStep();
            }
          }).fail(function(xhr, status, error) {
            submitButton.prop('disabled', false);
            submitButtonSpinner.hide();
            $('#login-error').show();
          });
        } else {
          if (recaptchaEnabled) {
            evt.preventDefault();
            evt.stopPropagation();
            grecaptcha.execute();
          }
        }
      });
      var messageBarMessage = null;
      if (usernameInput.val() !== '' && messageBarMessage === undefined) {
        $('#loginForm').submit();
      } else {
        var val = usernameInput.val();
        usernameInput.val('');
        usernameInput.focus();
        usernameInput.val(val);
      }
    });
    /*]]>*/
  </script>
</form>

Text Content

Se ha producido un error. Por favor, inténtalo de nuevo más tarde.
¿Has olvidado tu contraseña?
Siguiente
Recuérdame
O
Iniciar sesión con Inicio SSO
Copyright © 2023 Mirakl
Mirakl MP