Begin working on password reset page

This commit is contained in:
Dane Everitt 2019-06-11 22:02:18 -07:00
parent d9f30294de
commit b93b40ba31
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 120 additions and 11 deletions

View file

@ -0,0 +1,9 @@
import http from '@/api/http';
export default (email: string): Promise<void> => {
return new Promise((resolve, reject) => {
http.post('/auth/password', { email })
.then(() => resolve())
.catch(reject);
});
};