mirror of
https://github.com/zoriya/flood.git
synced 2026-06-04 03:27:15 +00:00
config: switch to authMethod config for auth method selection
This commit is contained in:
@@ -4,6 +4,8 @@ import type {infer as zodInfer} from 'zod';
|
||||
import {AccessLevel} from './constants/Auth';
|
||||
import {clientConnectionSettingsSchema} from './ClientConnectionSettings';
|
||||
|
||||
export type AuthMethod = 'default' | 'none';
|
||||
|
||||
export const credentialsSchema = object({
|
||||
username: string(),
|
||||
password: string(),
|
||||
|
||||
Reference in New Issue
Block a user