Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p_create arguments authenticate_email_async doesn't work #194

Open
zimlewis opened this issue Jan 20, 2024 · 1 comment
Open

p_create arguments authenticate_email_async doesn't work #194

zimlewis opened this issue Jan 20, 2024 · 1 comment

Comments

@zimlewis
Copy link

zimlewis commented Jan 20, 2024

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
Copy link

JackTBZ commented Jan 22, 2024

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants