mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 00:37:47 +00:00
oAuth fix (#4860)
This commit is contained in:
parent
c9be34aaa3
commit
d5eb02c926
@ -37,14 +37,7 @@ export function registerProviders (
|
||||
}
|
||||
|
||||
app.keys = [serverSecret]
|
||||
app.use(
|
||||
session(
|
||||
{
|
||||
domain: accountsUrl.split('.', 2)[1]
|
||||
},
|
||||
app
|
||||
)
|
||||
)
|
||||
app.use(session({}, app))
|
||||
|
||||
app.use(passport.initialize())
|
||||
app.use(passport.session())
|
||||
|
Loading…
Reference in New Issue
Block a user