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
LA-9: User session is not killed when user is marked as non-active #3690
LA-9: User session is not killed when user is marked as non-active #3690
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a little update on scope usage (API semver) but since active scope is new and it's not really in API : no issue.
I think this change introduced an error, at least for the RC2 API. The
This is using Postgres 14 and the latest UPDATE: If it helps, replacing the $activeScope = array(
'condition' => 'user_status = :active',
'params' => array(
- 'active' => 1,
+ 'active' => true,
)
); |
Isn't user_status supposed to be an integer? Also, please include which database vendor you're using. |
Same when install. Unsure it work on MSSQL here
Surely broke with pgsql |
only for mysql/mariadb :
|
There was an issue that I discovered last Friday. The issue is in sql script for MSSQL and Postgres. It is already being worked on. |
Ugh, should better be int or tinyint. We might want more user_status than 0/1 in the future... |
string ? |
Or enum? ;) |
Unsure we have an easy way to have enum on my+ms+pg with Yii ;) |
No, that was a joke, hehe. I wouldn't go there. |
I know :) |
No description provided.