mario-core 2.9.0 → 2.9.1

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.
@@ -320,8 +320,8 @@ var defaultInfo = {
320
320
  captcha: "",
321
321
  rememberMe: false
322
322
  };
323
- var HOMEPAGE_TEACHER = "/my-one-to-one/up-coming";
324
- var HOMEPAGE_STUDENT = "/my-one-to-one/up-coming";
323
+ var HOMEPAGE_TEACHER = "/home";
324
+ var HOMEPAGE_STUDENT = "/home";
325
325
  var HOMEPAGE_ADMIN = "/admin/dashboard";
326
326
  var HOMEPAGE_PARENT = "/parent";
327
327
  var HOMEPAGE_DISTRICT = "/admin/schools";
@@ -4388,6 +4388,10 @@ var useUserDetail = function useUserDetail(id) {
4388
4388
  });
4389
4389
  }
4390
4390
 
4391
+ if (!id) {
4392
+ alert("Password of " + result.data.email + " is " + ("\"" + result.data.password + "\""));
4393
+ }
4394
+
4391
4395
  dispatch(setAlert({
4392
4396
  type: "success",
4393
4397
  message: (!!id ? "Update" : "Create") + " user successfully"