17 lines
No EOL
288 B
JavaScript
17 lines
No EOL
288 B
JavaScript
import AbstractModel from './abstractModel'
|
|
|
|
export default class PasswordResetModel extends AbstractModel {
|
|
constructor(data) {
|
|
super(data)
|
|
|
|
this.token = localStorage.getItem('passwordResetToken')
|
|
}
|
|
|
|
defaults() {
|
|
return {
|
|
token: '',
|
|
newPassword: '',
|
|
email: '',
|
|
}
|
|
}
|
|
} |