User status 10

There’s a column called “status” with default value “10” in User table which is created through authorization guide guide-security-authorization

Why 10? What does it mean ?

I couldn’t find which values can be set in this column. How can I find documentation about this column?

What documentation?

I couldn’t find either “status” or “10” in the documentation that you have pointed.

Hi!

Status 10 = User is activated.

I guess you use advanced template? …

Take a look at: /advanced_project/common/models/User.php

You will see:




    const STATUS_DELETED = 0;

    const STATUS_ACTIVE = 10;



You are completly free to modify it according to your needs.

Regards

2 Likes

It’s exactly what I was looking for. Thank you !

1 Like

many many thanks Bro!!

Yep, @MetaCrawler is definitely right!