@itutoring/itutoring_application_js_api 1.7.15 → 1.7.17
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/modules/CustomerAuth.js
CHANGED
|
@@ -21,7 +21,7 @@ class CustomerAuth
|
|
|
21
21
|
|
|
22
22
|
static async ResendConfirmationEmail(email)
|
|
23
23
|
{
|
|
24
|
-
var result = await APIController.
|
|
24
|
+
var result = await APIController.Get(this.#MODULE, this.#RESEND_CONFIRMATION_EMAIL, {
|
|
25
25
|
'email': email
|
|
26
26
|
});
|
|
27
27
|
|
package/modules/TeacherAuth.js
CHANGED
|
@@ -21,6 +21,7 @@ class TeacherAuth
|
|
|
21
21
|
static #REGISTER = "Register";
|
|
22
22
|
static #IS_AUTHENTICATED = "IsAuthenticated";
|
|
23
23
|
static #CHANGE_PASSWOD = "ChangePassword";
|
|
24
|
+
static #REQUEST_PASSWORD_CHANGE = "RequestPasswordChange";
|
|
24
25
|
|
|
25
26
|
/**
|
|
26
27
|
* This mothod will force default auth dialog
|
|
@@ -45,6 +46,13 @@ class TeacherAuth
|
|
|
45
46
|
|
|
46
47
|
return res;
|
|
47
48
|
}
|
|
49
|
+
|
|
50
|
+
static async RequestPasswordChange(email)
|
|
51
|
+
{
|
|
52
|
+
await APIController.Get(this.#MODULE, this.#REQUEST_PASSWORD_CHANGE, {
|
|
53
|
+
'email': email
|
|
54
|
+
});
|
|
55
|
+
}
|
|
48
56
|
}
|
|
49
57
|
|
|
50
58
|
export default TeacherAuth;
|