2020-09-05 22:35:52 +02:00
|
|
|
import AbstractModel from './abstractModel'
|
2019-03-02 11:25:10 +01:00
|
|
|
|
|
|
|
export default class PasswordResetModel extends AbstractModel {
|
|
|
|
constructor(data) {
|
|
|
|
super(data)
|
2020-09-05 22:35:52 +02:00
|
|
|
|
2019-03-02 11:25:10 +01:00
|
|
|
this.token = localStorage.getItem('passwordResetToken')
|
|
|
|
}
|
2020-09-05 22:35:52 +02:00
|
|
|
|
2019-03-02 11:25:10 +01:00
|
|
|
defaults() {
|
|
|
|
return {
|
|
|
|
token: '',
|
2020-04-12 23:54:46 +02:00
|
|
|
newPassword: '',
|
2019-03-02 11:25:10 +01:00
|
|
|
email: '',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|