mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-23 12:18:46 +00:00
feat(auth): add Google sign-in support for cloud environment
This commit is contained in:
@@ -310,6 +310,15 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) {
|
||||
|
||||
const token = query.token;
|
||||
|
||||
// if (IS_CLOUD) {
|
||||
// return {
|
||||
// redirect: {
|
||||
// permanent: true,
|
||||
// destination: "/",
|
||||
// },
|
||||
// };
|
||||
// }
|
||||
|
||||
if (typeof token !== "string") {
|
||||
return {
|
||||
redirect: {
|
||||
|
||||
Reference in New Issue
Block a user