Skip to content

Commit

Permalink
fix: enable sign in on staging instance
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Aug 19, 2024
1 parent b857d54 commit c80a3a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/auth/SignInForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ export function SignInForm(): JSX.Element {
const { buttonProps } = useButton(
{
isDisabled:
process.env["NEXT_PUBLIC_BASE_URL"] !== 'https://sshoc-marketplace.acdh-dev.oeaw.ac.at' &&
process.env["NEXT_PUBLIC_BASE_URL"] !== 'http://localhost:3000',
process.env['NEXT_PUBLIC_BASE_URL'] !==
'https://sshoc-marketplace-stage.acdh-dev.oeaw.ac.at' &&
process.env['NEXT_PUBLIC_BASE_URL'] !== 'https://sshoc-marketplace.acdh-dev.oeaw.ac.at' &&
process.env['NEXT_PUBLIC_BASE_URL'] !== 'http://localhost:3000',
onPress() {
signInWithOAuth()
},
Expand Down

0 comments on commit c80a3a4

Please sign in to comment.