websiteMembership question

Hi,

in the add-on there is:

  // disallow logins with plaintext password hash
  $action = isset($_REQUEST['action']) ? $_REQUEST['action'] : ''; 
  if ($action == 'loginSubmit' && !empty($_REQUEST['password']) && $passwordHash && $_REQUEST['password'] == $passwordHash) {
    $passwordHash = '';   // blank out password
    loginCookie_remove();
  }

the loginSubmit in the $action == 'loginSubmit' is from where? We are using simple 'login' value in the login.php.

Regards,
Karls

Hi Dave,

I just lost the above script in the add-on and now i cannot find it..

Thanks anyway,
Karls.

By Dave - September 28, 2015

Hi Karz, Try searching for "loginSubmit" in /lib/login_functions.php.  

Dave Edis - Senior Developer
interactivetools.com