fix: resolve folder drag-and-drop, add remember me, fix pinned folder navigation
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m18s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 1m18s
This commit is contained in:
parent
7278008d7e
commit
b668418951
5 changed files with 89 additions and 14 deletions
|
|
@ -121,10 +121,10 @@ class ApiClient {
|
|||
}
|
||||
|
||||
// --- Auth ---
|
||||
async login(username: string, password: string, totpCode?: string) {
|
||||
async login(username: string, password: string, totpCode?: string, rememberMe?: boolean) {
|
||||
const res = await this.request('/api/auth/login', {
|
||||
method: 'POST',
|
||||
body: { username, password, totp_code: totpCode },
|
||||
body: { username, password, totp_code: totpCode, remember_me: rememberMe },
|
||||
});
|
||||
const data = await res.json();
|
||||
if (res.ok && data.access_token) {
|
||||
|
|
|
|||
Reference in a new issue