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