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
Sagi Dayan accbc5c35c First implementation of email service
- Sending welcome email uppon register
 - Test email configuration API for admins
 - basic reset password - not implemented
2020-05-12 21:30:11 -04:00

16 lines
253 B
JavaScript

'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