twilio / twilio-video-app-react

A collaboration application built with the twilio-video.js SDK and React.js
Apache License 2.0
1.8k stars 725 forks source link

Passcode starting with number '0' causes a bad passcode error. #827

Open runnermann opened 9 months ago

runnermann commented 9 months ago

Describe the bug Passcode starting with '0' is not recognized

To Reproduce Steps to reproduce the behavior:

  1. When the passcode is given to you from after an upload. When it starts with number '0'

Expected behavior The passcode should be excepted.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context We converted the passcode to a string in order to accept it in our server. However we receive an 'invalid passcode' message.

Work around Work around is easy. Upload again to avoid passcodes starting with 0