[core] admin/admin by default for dashboard
This commit is contained in:
1 parent
3edd60448b
commit
8005846955
1 file changed
+2
-2
@@ -20,8 +20,8 @@ export class DashboardConfigServiceCore {
|
||||
}
|
||||
|
||||
get credentials(): [string, string] | null {
|
||||
const user = this.configService.get('WAHA_DASHBOARD_USERNAME', 'waha');
|
||||
const password = this.configService.get('WAHA_DASHBOARD_PASSWORD', 'waha');
|
||||
const user = this.configService.get('WAHA_DASHBOARD_USERNAME', 'admin');
|
||||
const password = this.configService.get('WAHA_DASHBOARD_PASSWORD', 'admin');
|
||||
if (!user && !password) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user