adminforth 1.1.63 → 1.1.65

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
@@ -633,10 +633,11 @@ class AdminForth {
633
633
  let userFullName = '';
634
634
  if (adminUser.isRoot) {
635
635
  username = this.config.rootUser.username;
636
+ console.log(username, 'this is the root');
636
637
  }
637
638
  else {
638
639
  const dbUser = adminUser.dbUser;
639
- console.log(dbUser);
640
+ console.log(dbUser, 'this is the db user', adminUser, 'this is the admin user');
640
641
  username = dbUser[this.config.auth.usernameField];
641
642
  userFullName = dbUser[this.config.auth.userFullNameField];
642
643
  }
package/index.ts CHANGED
@@ -725,9 +725,10 @@ class AdminForth implements AdminForthClass {
725
725
  let userFullName = ''
726
726
  if (adminUser.isRoot) {
727
727
  username = this.config.rootUser.username;
728
+ console.log(username, 'this is the root')
728
729
  } else {
729
730
  const dbUser = adminUser.dbUser;
730
- console.log(dbUser)
731
+ console.log(dbUser,'this is the db user',adminUser,'this is the admin user')
731
732
  username = dbUser[this.config.auth.usernameField];
732
733
  userFullName =dbUser[this.config.auth.userFullNameField];
733
734
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",