Login Only Working With Email And Password?

Hey guys,

When trying to login a user, I am only able to succeed if I use the user’s email and password.

Loggin in with the user’s username and password gives me an error.

The docs (http://docs.coronalabs.com/guide/cloud/leaderachieve/index.html) under the header Email/Username Login imply that it is only possible to login with an mail address:

coronaCloud.loginAPI( email, password )

However the header itself (Email/Username Login) implies the contrary.

Moreover, in the corona-cloud-core code the function coronaCloud.loginAPI() takes a parameter with the name username.

So is this normal behaviour, should we only be able to login with the user’s email? Or is it a bug really…

Thanks in advance

I’ve asked for some clarification.

Hi qwertier,

Yes your first assumption is correct you do require an email and password to login.

In a sense username = [email address] in this case, maybe its a poor choice of terminology that we should address.

Thanks

-Mohamed

Thanks for the clarification Mohamed :slight_smile:

I’ve asked for some clarification.

Hi qwertier,

Yes your first assumption is correct you do require an email and password to login.

In a sense username = [email address] in this case, maybe its a poor choice of terminology that we should address.

Thanks

-Mohamed

Thanks for the clarification Mohamed :slight_smile: