react-redux-django-auth 1.3.6 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -7
- package/dist/index.mjs +0 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1576,13 +1576,6 @@ var useChangeAuthenticatedUserPassword = function(initialFields, apiUrl) {
|
|
|
1576
1576
|
case 0:
|
|
1577
1577
|
e.preventDefault();
|
|
1578
1578
|
current_password = formData.current_password, new_password = formData.new_password, re_new_password = formData.re_new_password;
|
|
1579
|
-
if (new_password !== re_new_password) {
|
|
1580
|
-
setError("New passwords do not match.");
|
|
1581
|
-
return [
|
|
1582
|
-
2
|
|
1583
|
-
];
|
|
1584
|
-
}
|
|
1585
|
-
setError(null);
|
|
1586
1579
|
setLoading(true);
|
|
1587
1580
|
_state.label = 1;
|
|
1588
1581
|
case 1:
|
package/dist/index.mjs
CHANGED
|
@@ -608,11 +608,6 @@ var useChangeAuthenticatedUserPassword = (initialFields, apiUrl) => {
|
|
|
608
608
|
async (e) => {
|
|
609
609
|
e.preventDefault();
|
|
610
610
|
const { current_password, new_password, re_new_password } = formData;
|
|
611
|
-
if (new_password !== re_new_password) {
|
|
612
|
-
setError("New passwords do not match.");
|
|
613
|
-
return;
|
|
614
|
-
}
|
|
615
|
-
setError(null);
|
|
616
611
|
setLoading(true);
|
|
617
612
|
try {
|
|
618
613
|
await dispatch(
|