mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: logsin
This commit is contained in:
1 parent
8670e5f9a7
commit
85491c7f22
16 files changed
+47
-38
No files matched your search
@@ -198,7 +198,7 @@ const isBranchNamed =
|
||||
<GearIcon />
|
||||
</Link>
|
||||
|
||||
<NavbarAccount client:idle />
|
||||
<NavbarAccount client:load />
|
||||
</Flex>
|
||||
</Flex>
|
||||
</Flex>
|
||||
|
||||
@@ -28,7 +28,7 @@ export function WargamingLoginButton({ children, ...props }: ButtonProps) {
|
||||
href={
|
||||
typeof window !== 'undefined'
|
||||
? `https://api.worldoftanks.${region}/wot/auth/login/?application_id=${assertSecret(
|
||||
process.env.PUBLIC_WARGAMING_APPLICATION_ID,
|
||||
import.meta.env.PUBLIC_WARGAMING_APPLICATION_ID,
|
||||
)}&redirect_uri=${encodeURIComponent(
|
||||
`${location.origin}/auth/wargaming?return=${location.origin}${location.pathname}`,
|
||||
)}`
|
||||
|
||||
Reference in new issue
Block a user