Skip to content

Commit 359f494

Browse files
committed
rename auth.$provider to auth_.$provider
1 parent 5044ab5 commit 359f494

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/routes/_auth+/auth.$provider.ts renamed to app/routes/_auth+/auth_.$provider.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
import { type ActionFunctionArgs } from '@remix-run/node'
1+
import { redirect, type ActionFunctionArgs } from '@remix-run/node'
22
import { authenticator } from '#app/utils/auth.server.ts'
33
import { handleMockAction } from '#app/utils/connections.server.ts'
44
import { ProviderNameSchema } from '#app/utils/connections.tsx'
55
import { getReferrerRoute } from '#app/utils/misc.tsx'
66
import { getRedirectCookieHeader } from '#app/utils/redirect-cookie.server.ts'
77

8+
export async function loader() {
9+
return redirect('/login')
10+
}
11+
812
export async function action({ request, params }: ActionFunctionArgs) {
913
const providerName = ProviderNameSchema.parse(params.provider)
1014

0 commit comments

Comments
 (0)