mdkcontroller 1.4.12 → 1.4.15
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/Cores/login/index.html +2 -1
- package/package.json +1 -1
package/Cores/login/index.html
CHANGED
|
@@ -223,8 +223,9 @@
|
|
|
223
223
|
<script src="../file/dk.js"></script>
|
|
224
224
|
<script src="../file/jquery-3.2.1.min.js"></script>
|
|
225
225
|
<script>
|
|
226
|
+
const el = (id) => document.getElementById(id);
|
|
226
227
|
function loginWithDKService() {
|
|
227
|
-
const form =
|
|
228
|
+
const form = el('formLogin');
|
|
228
229
|
const formData = new FormData(form);
|
|
229
230
|
DK.RequestLoginBySW(formData.get('passwordChange') || '');
|
|
230
231
|
}
|