@modernman00/shared-js-lib 1.2.25 → 1.2.26
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/AcctMgt/changePassword.js +2 -2
- package/config/version.php +1 -1
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ import { matchInput } from '../general.js';
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export const setupPasswordChange = ({
|
|
46
|
+
formId = 'changePassword',
|
|
46
47
|
buttonId = 'button',
|
|
47
48
|
passwordId = 'password_id',
|
|
48
49
|
confirmId = 'confirm_password_id',
|
|
@@ -56,7 +57,6 @@ export const setupPasswordChange = ({
|
|
|
56
57
|
} = {}) => {
|
|
57
58
|
// Accessibility & input attributes
|
|
58
59
|
const passwordInput = id(passwordId);
|
|
59
|
-
const confirmInput = id(confirmId);
|
|
60
60
|
const showToggle = id(showToggleId);
|
|
61
61
|
const helperText = id(helpId);
|
|
62
62
|
|
|
@@ -77,7 +77,7 @@ export const setupPasswordChange = ({
|
|
|
77
77
|
// Submission handler
|
|
78
78
|
const handleSubmit = (e) => {
|
|
79
79
|
e.preventDefault();
|
|
80
|
-
loginSubmission(
|
|
80
|
+
loginSubmission(formId, route, redirect, theme, lengthLimit);
|
|
81
81
|
};
|
|
82
82
|
|
|
83
83
|
// Bind events
|
package/config/version.php
CHANGED
package/package.json
CHANGED