react-redux-django-auth 1.3.5 → 1.3.6

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 CHANGED
@@ -1596,7 +1596,8 @@ var useChangeAuthenticatedUserPassword = function(initialFields, apiUrl) {
1596
1596
  4,
1597
1597
  dispatch(changeLoggedInUserPassword({
1598
1598
  current_password: current_password,
1599
- new_password: new_password
1599
+ new_password: new_password,
1600
+ re_new_password: re_new_password
1600
1601
  }, apiUrl))
1601
1602
  ];
1602
1603
  case 2:
package/dist/index.mjs CHANGED
@@ -616,7 +616,10 @@ var useChangeAuthenticatedUserPassword = (initialFields, apiUrl) => {
616
616
  setLoading(true);
617
617
  try {
618
618
  await dispatch(
619
- changeLoggedInUserPassword({ current_password, new_password }, apiUrl)
619
+ changeLoggedInUserPassword(
620
+ { current_password, new_password, re_new_password },
621
+ apiUrl
622
+ )
620
623
  );
621
624
  } catch (err) {
622
625
  console.error("Error submitting form", err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-redux-django-auth",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "A React Redux Authentication system for django app built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",