-
-
setAuthToken(e.target.value)}
- placeholder='可选,若 Suwayomi 开启认证请填写'
- className='w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100'
- />
+
+
+ {[
+ { value: 'none', label: '无认证' },
+ { value: 'basic_auth', label: 'basic_auth' },
+ { value: 'simple_login', label: 'simple_login' },
+ ].map((item) => (
+
+ ))}
+
+
+ basic_auth 使用 Basic Authorization 头;simple_login 会向 /login.html 提交表单并复用返回 Cookie。
+
@@ -10267,6 +10343,13 @@ const SuwayomiConfigComponent = ({
+