mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-05 15:26:36 +08:00
[优化] POW 系统接口方案
This commit is contained in:
@@ -13,6 +13,7 @@ export interface AuthUser {
|
||||
export interface LoginPayload {
|
||||
username: string;
|
||||
password: string;
|
||||
cap_token?: string;
|
||||
}
|
||||
|
||||
export interface RegisterPayload {
|
||||
|
||||
@@ -20,5 +20,6 @@ export interface PublicStatus {
|
||||
wechat_login: boolean;
|
||||
server_address: string;
|
||||
password_register_enabled: boolean;
|
||||
cap_login_enabled?: boolean;
|
||||
auth_sources: PublicAuthSource[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user