Using server validation to check SHA1 encrypted password value
Hi Ray, I need to update a user update page so that the user must input their current password in order to update the record. It's failing the validation though - can you see where I'm going wrong? Current code is as follows:
$WAFV_Errors .= WAValidateLE((WA_SHA1Encryption((isset($_POST["password"]))?$_POST["password"]:"")) ."" . "",($SecurityAssistparausers["user_pass"]) . "",true,9);
<input id="password" name="password" type="password" value="">