mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-01 21:28:23 +00:00
refactor: replace custom authentication middleware with NextAuth, remove unused authentication pages, and update matcher configuration
This commit is contained in:
@ -32,6 +32,7 @@ export async function signin(previousState: ActionState, formData: FormData) {
|
||||
}
|
||||
const FORMATTED_MOBILE_NUMBER: string = `${phoneNumber.split("-").join("")}`;
|
||||
console.log({ FORMATTED_MOBILE_NUMBER });
|
||||
|
||||
const userExistsResponse = await fetch(
|
||||
`${process.env.SARLINK_API_BASE_URL}/auth/mobile/`,
|
||||
{
|
||||
|
Reference in New Issue
Block a user