mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix(frontend): encode password when loading config
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user