Skip to content

Commit

Permalink
added msisdn on user login listing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald-pro committed Jun 26, 2024
1 parent e55d030 commit 3dd6e39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions routes/processes/nishauri_new.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ router.post("/signup", async (req, res) => {
token: token,
refreshToken: refreshToken,
user_id: base64.encode(new_user.id), // Use the decoded user ID
phone_no: new_user.msisdn,
account_verified: new_user.is_active
}
});
Expand Down Expand Up @@ -356,6 +357,7 @@ router.post("/signin", async (req, res) => {
page_id: 1,
token: token,
refreshToken: refreshToken,
phone_no: check_username.msisdn,
account_verified: check_username.is_active
};

Expand Down

0 comments on commit 3dd6e39

Please sign in to comment.