heroiclabs / nakama-godot

Godot client for Nakama server written in GDScript.
Apache License 2.0
593 stars 69 forks source link

p_create arguments authenticate_email_async doesn't work #194

Open zimlewis opened 7 months ago

zimlewis commented 7 months ago

Description

I sign a user up, but when the email is already in use it doesn't throw any exception but try to authenticate with the information of the register form

Steps to Reproduce

  1. var session = await Online.nakama_client.authenticate_email_async(email , password , username , true) to sign the user up
  2. if session.is_exception(): signup_failed.emit(session.get_exception().status_code , session.get_exception().message) else: signup_succeeded.emit(session) to check if any error occur, if yes then emit the signup_failed signal, if no emit the signup_succeeded signal
  3. test it out by using an email to sign up twice

    Expected Result

    signup_failed get emitted

Actual Result

signup_succeeded got emitted

Video

Screencast from 20-01-24 11:23:16.webm

p/s

Don't know if it's my issue or nakama issue, I'm new to multiplayer and nakama, I just follow the document since there's literally no nakama tutorial with godot 4.0

JackTBZ commented 7 months ago

Yes!