fixed
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { dash } from '@better-auth/infra';
|
||||
import { getRequestEvent } from '$app/server';
|
||||
import { m } from '$lib/paraglide/messages';
|
||||
import { getConfig } from '$lib/server/config';
|
||||
@@ -60,7 +59,6 @@ function build() {
|
||||
},
|
||||
plugins: [
|
||||
admin(),
|
||||
dash(),
|
||||
genericOAuth({ config: oauthConfig }),
|
||||
twoFactor({
|
||||
issuer: m.appname(),
|
||||
@@ -106,8 +104,6 @@ function build() {
|
||||
});
|
||||
}
|
||||
|
||||
// ponytail: single-slot cache, rebuilt on config edits via invalidateAuth().
|
||||
// In-flight rate-limit counters and 2FA flow state reset on invalidation.
|
||||
let cached: null | ReturnType<typeof build> = null;
|
||||
|
||||
export type Auth = ReturnType<typeof build>;
|
||||
|
||||
Reference in New Issue
Block a user