Validate password entered on an LDAP server

0

I have a page in HTML, CSS bootstrap, js and the like. The page is a self-service so users can change their password. works like this:

DIGITE SEU USUÁRIO       :
DIGITE SUA SENHA ATUAL   :
DIGITE SUA NOVA SENHA    :
CONFIRME A NOVA SENHA    :

A simple form, my doubt is as follows. How to validate if the current password is correct, and make the treatment of the options? The current password entered is wrong, try again, if everything went correctly, enter password changed successfully.

    
asked by anonymous 18.03.2016 / 15:53

0 answers