mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
fix(auth): change Discord OAuth2 prompt from consent to none
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com>
This commit is contained in:
@@ -227,7 +227,7 @@ if (env.DISCORD_CLIENT_ID && env.DISCORD_CLIENT_SECRET) {
|
||||
config.id,
|
||||
passport.authenticate(config.id, {
|
||||
scope,
|
||||
prompt: "consent",
|
||||
prompt: "none",
|
||||
})
|
||||
);
|
||||
router.get(`${config.id}.callback`, passportMiddleware(config.id));
|
||||
|
||||
Reference in New Issue
Block a user