We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7fbef commit adba2d6Copy full SHA for adba2d6
services/backend/src/lib/lucia.ts
@@ -118,6 +118,11 @@ export function resetLucia(): void {
118
luciaInstance = null;
119
}
120
121
+// Function to reset GitHub instance (useful for testing or config changes)
122
+export function resetGithubAuth(): void {
123
+ githubAuthInstance = null;
124
+}
125
+
126
// Force reset on module reload in development
127
if (process.env.NODE_ENV !== 'production') {
128
resetLucia();
0 commit comments