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