Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

update key order

Amruth Pillaia4fd7f845207
diff --git a/src/integrations/auth/config.ts b/src/integrations/auth/config.ts
index 9bb11af10..5aa01e525 100644
--- a/src/integrations/auth/config.ts
+++ b/src/integrations/auth/config.ts
@@ -187,16 +187,16 @@ const getAuthConfig = () => {
maxUsernameLength: 64,
usernameNormalization: (value) => toUsername(value),
displayUsernameNormalization: (value) => toUsername(value),
+ usernameValidator: (username) => /^[a-z0-9._-]+$/.test(username),
validationOrder: { username: "post-normalization", displayUsername: "post-normalization" },
- usernameValidator:(username)=> /^[a-z0-9._-]+$/.test(username)
}),
twoFactor({
issuer: "Reactive Resume",
}),
passkey({
+ origin: env.APP_URL,
rpName: "Reactive Resume",
rpID: new URL(env.APP_URL).hostname,
- origin: env.APP_URL,
}),
genericOAuth({
config: authConfigs,