Skip to content

Commit

Permalink
replace all . with -
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokaditya committed May 3, 2023
1 parent b5e8ab7 commit 98ec2a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const enrollEndpointHost = async (): Promise<string | undefined> => {

try {
const uniqueId = Math.random().toString().substring(2, 6);
const username = userInfo().username.toLowerCase().replace('.', '-'); // Multipass doesn't like periods in username
const username = userInfo().username.toLowerCase().replaceAll('.', '-'); // Multipass doesn't like periods in username
const policyId: string = policy || (await getOrCreateAgentPolicyId());

if (!policyId) {
Expand Down

0 comments on commit 98ec2a6

Please sign in to comment.