Skip to content

Commit

Permalink
fix: It is now possible to log in with case sensitive username
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi1150 committed Jan 11, 2023
1 parent db8fc72 commit b7dacdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ConferenceDemo/src/Core/Services/AuthService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const AuthService = () => {
await connectToVox();
}
const result = await client.login(
`${username.toLowerCase()}.voximplant.com`,
`${username}.voximplant.com`,
password,
);
await setStorageItem(STORAGE.USER_NAME, username);
Expand All @@ -49,7 +49,7 @@ export const AuthService = () => {
await client.disconnect();
await connectToVox();
let result = await client.loginWithToken(
`${username?.toLowerCase()}.voximplant.com`,
`${username}.voximplant.com`,
token,
);
await setStorageItems(result);
Expand All @@ -59,7 +59,7 @@ export const AuthService = () => {
const username = await getStorageItem(STORAGE.USER_NAME);
const rToken = await getStorageItem(STORAGE.REFRESH_TOKEN);
const result = await client.tokenRefresh(
`${username?.toLowerCase()}.voximplant.com`,
`${username}.voximplant.com`,
rToken,
);
await setStorageItems(result);
Expand Down

0 comments on commit b7dacdd

Please sign in to comment.