mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
This commit is contained in:
parent
04b195f4c6
commit
a64504ba02
@ -43,6 +43,10 @@ class AuthProviderBase {
|
||||
getLoginPageConnections() {
|
||||
return null;
|
||||
}
|
||||
|
||||
getSingleConnection(req) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class OAuthProvider extends AuthProviderBase {
|
||||
|
@ -34,6 +34,8 @@ module.exports = {
|
||||
const isLoginForm = authProvider.isLoginForm();
|
||||
const additionalConfigProps = authProvider.getAdditionalConfigProps();
|
||||
|
||||
const singleConnection = await authProvider.getSingleConnection(req);
|
||||
|
||||
return {
|
||||
runAsPortal: !!connections.portalConnections,
|
||||
singleDbConnection: connections.singleDbConnection,
|
||||
|
Loading…
Reference in New Issue
Block a user