feat: Allow Google sign-in users to choose account

Alternative to https://github.com/outline/outline/pull/1763
This commit is contained in:
Tom Moor authored and GitHub committed 2021-01-03 08:54:47 -08:00
1 parent 9df02d6fd4
commit f799758a6f
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ router.get("google", async (ctx) => {
"https://www.googleapis.com/auth/userinfo.profile",
"https://www.googleapis.com/auth/userinfo.email",
],
prompt: "consent",
prompt: "select_account consent",
});
ctx.redirect(authorizeUrl);
});