Skip to content

Commit 40521ef

Browse files
committed
set default locale of managed login undefined
1 parent 7b94234 commit 40521ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

webapp/src/app/sign-in/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export default function SignInPage() {
1616
</p>
1717

1818
<Link
19-
href="/api/auth/sign-in?lang=ja"
19+
href="/api/auth/sign-in"
20+
// you can add a query string to change the locale of cognito managed login page.
21+
// href="/api/auth/sign-in?lang=ja"
2022
className="w-full flex justify-center py-3 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"
2123
prefetch={false} // prevent CORS error
2224
>

0 commit comments

Comments
 (0)