Last active
March 6, 2016 11:07
-
-
Save andevsoftware/fba77b9163ecb81e95d2 to your computer and use it in GitHub Desktop.
TSValidate.Validators.Confirmation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Confirmation = TSValidate.Validator.Confirmation; | |
validator.add('password', new Confirmation() | |
.against('confirmPassword') | |
.message('Password doesn\'t match confirmation') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment