We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e446a00 + 73aa0c2 commit 5beaccaCopy full SHA for 5beacca
LearningHub.Nhs.WebUI/Scripts/vuesrc/data/user.ts
@@ -67,7 +67,8 @@ const IsSystemAdmin = async function (): Promise<boolean[]> {
67
};
68
69
const IsValidUser = async function (currentPassword: string): Promise<boolean[]> {
70
- var IsValidUser = `/api/User/ConfirmPassword/${currentPassword}`;
+ let encodedPassword = encodeURIComponent(currentPassword);
71
+ var IsValidUser = `/api/User/ConfirmPassword/${encodedPassword}`;
72
return await AxiosWrapper.axios.get<boolean[]>(IsValidUser)
73
.then(response => {
74
return response.data;
0 commit comments