Account registration question

15 Jan 2021, 12:10

Hi everyone, I'm new to Colyseus, I noticed that you have Email + Password authentication but I was wondering if there is also in-built functionality for:

  • Forgot your password?
  • Verify your email address?

I couldn't find any API methods for registering an account and also didn't notice any registration error messages for example "email already exists" and so on.

Also, are there rules for the characters in a password? (As in, must have numbers, must have symbols, must be of at least a certain length, etc.)

Thank you.

16 Jan 2021, 15:40

Hi @jdavid, welcome 👋

Unfortunately you'd need to implement these features yourself. There are no rules for password besides that it has to have > 2 chars https://github.com/colyseus/colyseus-social/blob/master/src/index.ts#L106-L109

Cheers

16 Jan 2021, 22:02

I see, no problem, thank you for getting back to me