Skip to content

Commit

Permalink
Merge pull request #150 from voximplant/fix_case_sensitive_login_issue
Browse files Browse the repository at this point in the history
Login with case sensitive username issue
  • Loading branch information
jedi1150 authored Jan 11, 2023
2 parents db8fc72 + b7dacdd commit 54bfeed
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 54bfeed

Please sign in to comment.