mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 21:16:00 +00:00
oauth disabling API
This commit is contained in:
@@ -5,12 +5,16 @@ import './commands/stdCommands';
|
||||
import localStorageGarbageCollector from './utility/localStorageGarbageCollector';
|
||||
import { handleOauthCallback } from './clientAuth';
|
||||
|
||||
const isOauthCallback = handleOauthCallback();
|
||||
|
||||
localStorageGarbageCollector();
|
||||
|
||||
const app = new App({
|
||||
target: document.body,
|
||||
props: {},
|
||||
});
|
||||
const app = isOauthCallback
|
||||
? null
|
||||
: new App({
|
||||
target: document.body,
|
||||
props: {},
|
||||
});
|
||||
|
||||
// const app = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user