fix(frontend): encode password when loading config

This commit is contained in:
Viren070
2025-06-14 02:41:59 +01:00
committed by GitHub
parent 9e1960a6dd
commit e8971df66d
+1 -1
View File
@@ -25,7 +25,7 @@ export class UserConfigAPI {
): Promise<ApiResponse<LoadUserResponse>> {
try {
const response = await fetch(
`${this.BASE_URL}/user?uuid=${uuid}&password=${password}`,
`${this.BASE_URL}/user?uuid=${uuid}&password=${encodeURIComponent(password)}`,
{
method: 'GET',
headers: {