mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 03:36:01 +00:00
SYNC: SKIP_ALL_AUTH support
This commit is contained in:
committed by
Diflow
parent
23065f2c4b
commit
949817f597
@@ -307,6 +307,9 @@ export function getAuthCategory(config) {
|
||||
if (getElectron()) {
|
||||
return 'electron';
|
||||
}
|
||||
if (config.skipAllAuth) {
|
||||
return 'none';
|
||||
}
|
||||
return 'token';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user