update translations

This commit is contained in:
Amruth Pillai
2026-03-18 09:54:10 +01:00
parent f431c0fd89
commit d8ffd00fa6
58 changed files with 1951 additions and 1957 deletions
+4 -11
View File
@@ -231,16 +231,11 @@ const getAuthConfig = () => {
},
plugins: [
dash(),
openAPI(),
apiKey({
enableSessionForAPIKeys: true,
rateLimit: {
enabled: true,
timeWindow: 1000 * 60 * 60 * 24, // 1 day
maxRequests: 500, // 500 requests per day
},
}),
genericOAuth({ config: authConfigs }),
twoFactor({ issuer: "Reactive Resume" }),
dash({ apiKey: env.BETTER_AUTH_API_KEY }),
apiKey({ enableSessionForAPIKeys: true, rateLimit: { enabled: false } }),
username({
minUsernameLength: 3,
maxUsernameLength: 64,
@@ -249,8 +244,6 @@ const getAuthConfig = () => {
usernameValidator: (username) => /^[a-z0-9._-]+$/.test(username),
validationOrder: { username: "post-normalization", displayUsername: "post-normalization" },
}),
twoFactor({ issuer: "Reactive Resume" }),
genericOAuth({ config: authConfigs }),
],
});
};
+1
View File
@@ -22,6 +22,7 @@ export const env = createEnv({
// Authentication
AUTH_SECRET: z.string().min(1),
BETTER_AUTH_API_KEY: z.string().min(1).optional(),
// Social Auth (Google)
GOOGLE_CLIENT_ID: z.string().min(1).optional(),