qa1145 commited on
Commit
4e2f63c
·
verified ·
1 Parent(s): 0070a1f

Upload 28 files

Browse files
Files changed (1) hide show
  1. astrbot/dashboard/routes/stat.py +1 -7
astrbot/dashboard/routes/stat.py CHANGED
@@ -62,13 +62,7 @@ class StatRoute(Route):
62
  return {"hours": hours, "minutes": minutes, "seconds": seconds}
63
 
64
  def is_default_cred(self):
65
- username = self.config["dashboard"]["username"]
66
- password = self.config["dashboard"]["password"]
67
- return (
68
- username == "astrbot"
69
- and password == "77b90590a8945a7d36c963981a307dc9"
70
- and not DEMO_MODE
71
- )
72
 
73
  async def get_version(self):
74
  need_migration = await check_migration_needed_v4(self.core_lifecycle.db)
 
62
  return {"hours": hours, "minutes": minutes, "seconds": seconds}
63
 
64
  def is_default_cred(self):
65
+ return False
 
 
 
 
 
 
66
 
67
  async def get_version(self):
68
  need_migration = await check_migration_needed_v4(self.core_lifecycle.db)