removed csrf reference

This commit is contained in:
Wyatt Johnson
2017-05-12 15:53:25 -06:00
parent 964cc362e7
commit e218de811b
2 changed files with 0 additions and 7 deletions
-3
View File
@@ -74,9 +74,6 @@
url: '/api/v1/account/email/verify',
contentType: 'application/json',
method: 'POST',
headers: {
'X-CSRF-Token': '<%= csrfToken %>'
},
data: JSON.stringify({token: location.hash.replace('#', '')})
}).then(function (success) {
location.href = success.redirectUri;
-4
View File
@@ -82,7 +82,6 @@
<body>
<div id="root">
<form id="reset-password-form">
<input type="hidden" name="_csrf" value={{csrfToken}}/>
<legend class="legend">Set new password</legend>
<label for="password">
New password
@@ -121,9 +120,6 @@
url: '/api/v1/account/password/reset',
contentType: 'application/json',
method: 'PUT',
headers: {
'X-CSRF-Token': '<%= csrfToken %>'
},
data: JSON.stringify({password: password, token: location.hash.replace('#', '')})
}).then(function (success) {
location.href = success.redirect;