docs: add upage usage instructions document

This commit is contained in:
LIlGG
2025-09-26 16:46:52 +08:00
parent f3a3e99df2
commit 54d1d65642
10 changed files with 27 additions and 14 deletions

View File

@@ -93,7 +93,7 @@ const config: LogtoConfig = {
const originalLogto = makeLogtoRemix(config, { sessionStorage });
export function shouldEnforceAuth(): boolean {
return process.env.LOGTO_ENABLE_DEV !== 'false';
return process.env.LOGTO_ENABLE !== 'false';
}
function getMockDevUser(): MockUser {