socioboard / Socioboard-5.0

Socioboard is world's first and open source Social Technology Enabler. Socioboard Core is our flagship product.

Home Page:http://www.socioboard.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't seem to create account because of OTP issue - Phone Number Invalid or too long due to regex (Belgium)

kenjibailly opened this issue · comments

This regex makes it that I need to write in this format:

475 123 456 7

This is too long and so does the system say:

image


While in reality the number is without he 7 at the end and in this format:

475 123 456

Weirdly enough, the regex doesn't let me enter this number without giving me this error:

image


Neither is it possible to enter the full "normal" number since the regex doesn't allow a 0 as the first number being:

0475 123 456

But I'm guessing that is because the system puts +32 in front?

The full international phone number would be

+32 475 123 456


I'm wondering how I can make my account / how to bypass this?

P.S. I'm selfhosting

EDIT: I tried to change the regex in that file, but I get "Some error occured, Can not send the OTP"

  • I think you can remove entirely OTP function and change the register to bypass it (directly call register API).
  • Use swagger function of User microservice to directly register a member

Got it fixed now using the new Docker Setup.