vikunja-frontend/src/models/passwordReset.js

17 lines
292 B
JavaScript
Raw Normal View History

import AbstractModel from "./abstractModel";
export default class PasswordResetModel extends AbstractModel {
constructor(data) {
super(data)
this.token = localStorage.getItem('passwordResetToken')
}
defaults() {
return {
token: '',
newPassword: '',
email: '',
}
}
}