Skip to content

Commit b7f0fd1

Browse files
committed
feat(register): Added email to register
1 parent 7292b69 commit b7f0fd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AspnetAuth.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ class AspnetAuth {
4141
return axios;
4242
}
4343

44-
register(username, password) {
44+
register(username, email, password) {
4545
// strange quirk where the baseURL is not persisted
4646
axios.defaults.baseURL = this.options.url;
4747
return this.http.post('/api/account/register', {
4848
Username: username,
4949
Password: password,
50+
Email: email,
5051
});
5152
}
5253

0 commit comments

Comments
 (0)