Skip to content

Commit

Permalink
Merge pull request #683 from CrisisCleanup/tobi-develop
Browse files Browse the repository at this point in the history
fix(phone): hard code password when not available
  • Loading branch information
tabiodun authored Feb 1, 2024
2 parents d91a6c4 + 17ee49d commit 5844366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/phone.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ export default class PhoneService {
'application/x-www-form-urlencoded;charset=UTF-8',
);

const raw = `username=${this.username}&password=${this.password}&platformId=aws80&redirectToApp=true`;
const raw = `username=${this.username}&password=${
this.password || 'volunteer'
}&platformId=aws80&redirectToApp=true`;

const requestOptions = {
method: 'POST',
Expand Down

0 comments on commit 5844366

Please sign in to comment.