Sagi Dayan
accbc5c35c
- Sending welcome email uppon register - Test email configuration API for admins - basic reset password - not implemented
16 lines
253 B
JavaScript
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
|