This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
seepur/app/Validators/ResetPassword.js

17 lines
253 B
JavaScript
Raw Normal View History

'use strict'
class ResetPassword {
get rules() {
return {
email: 'required|email'
}
}
get messages() {
return {
'exists': 'User does not exists', 'required': 'This is required',
}
}
}
module.exports = ResetPassword