2020-05-13 01:30:11 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
class ResetPassword {
|
|
|
|
get rules() {
|
|
|
|
return {
|
2020-05-18 00:39:53 +00:00
|
|
|
password: 'required|string|min:6', 'confirm': 'required|string|min:6',
|
2020-05-13 01:30:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
get messages() {
|
|
|
|
return {
|
2020-05-18 00:39:53 +00:00
|
|
|
'required': 'This is required',
|
|
|
|
'min': 'Password must be at least 6 chars long',
|
2020-05-13 01:30:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = ResetPassword
|