merchant.pis.ng Open in urlscan Pro
2606:4700:3036::6815:5cf2  Public Scan

Submitted URL: https://merchant.pis.ng/
Effective URL: https://merchant.pis.ng/account/login
Submission: On December 18 via api from US — Scanned from DK

Form analysis 1 forms found in the DOM

<form>
  <h3>Login</h3>
  <div id="response"></div>
  <div class="form-group"><input type="text" id="userId" placeholder="Username or Email" autofocus=""></div>
  <a id="forgot-password" href="https://merchant.pis.ng/account/forgot-password">Forgot Password?</a>
  <div class="form-group toggle-password">
    <input type="password" id="password" class="password" placeholder="Password">
    <span class="icofont icofont-eye icon" title="Show Password"></span>
  </div>
  <button type="submit" class="btn btn-block btn-primary btn-lg" id="submit">Login to your account</button>
  <p class="text-center"><a href="create">I don't have an account</a></p>
  <p class="text-center" style="margin-top: 0px;"><a href="resend-token">Didn't receive confirmation email?</a></p>
  <script>
    notify('');
    $('#submit').click(function() {
      $(this).addClass('disable').text('Authenticating...');
      $.ajax({
        url: URL + 'api/account/authenticate',
        headers: {
          'csrf-token': $('head').attr('data-csrft')
        },
        contentType: 'text/plain',
        type: 'POST',
        data: JSON.stringify({
          userId: $('#userId').val(),
          password: $('#password').val()
        }),
        success: function(response) {
          if ($('.alert-dismissible').length) {
            $('.alert-dismissible').remove();
          }
          if (response.status === 'error') {
            $('#response').html(styleErrorMessage(response.message)).addClass('alert alert-danger');
            $('#submit').removeClass('disable').text('Login to your account');
            $('#password').val('');
            return;
          }
          if ($('#response.alert-danger').length) {
            $('#response').removeClass('alert-danger');
          }
          $('#submit').text('Login to your account');
          $('#response').html('Welcome back <b>' + response.data.name + '</b>!').addClass('alert alert-success');
          let redirectTo = '';
          if (!redirectTo) {
            redirectTo = response.data.redirectTo;
          }
          setTimeout(function() {
            location.assign(URL + redirectTo);
          }, 1000);
        }
      });
      return false;
    });
  </script>
</form>

Text Content

LOGIN



Forgot Password?

Login to your account

I don't have an account

Didn't receive confirmation email?