Backendless Support
 
Answered

Use username like a login

Is it possible to use username like a login not only email?

Leave a Comment

Comments (8)

photo
1

Hi Ksenya,

yes, this is possible. In developers console go to Users table, click red button on right top 'Table schema and permissions` (https://goo.gl/2oOFZm)

Then change identity field from email to username (https://goo.gl/j3bGnn)

Keep in mind that to do this action it is required for all users to have a unique names.

Regards,

Stanislaw

photo
1

Hello,

Thanks for quick answer!

I have one more question.

Is it possible to get "email already exist" error when I have a username as a unique identifier?

photo
1

Hello Ksenya

When you will change the identity field - it will be the only one which is expected to be unique in Users table.

You will be able to set constraints in Users table (such as unique, not null etc) in Backendless 4.0 which will be released soon.

Regards Anton

photo
1

Hi,

I see. Thanks for answer.

And could you explain me what means the next error:

FAULT = '3101' [Password recovery is disabled.] <Password recovery is disabled.>

Why is it happens?

photo
1

Hello Ksenya,

Please check if "User requests password recovery" and "User requests password recovery by link" options have "Do not send email for event" property disabled.

You can find these in "Users -> Email Templates" tab.

Regards, Olga

photo
1

Hello,

Are there any restrictions for recovery emails quantity?

photo
1

No, there are no restrictions.

photo
1

Great, thanks a lot)

photo