6 years ago
2
Topic

Hi

Hi, is that normal that the user_block field in front end is not taken into account when the user form is saved ? 

I tried putting the user_block field in the site form and tried also in writting 

$config["storages"]["#__users"]["block"]=1; in a before store code field with J 3.7.4 + SEBLOD 3.12.2

but in the database the user_block column is still 0

thanks

cyril

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
1
Level 1

I took a look in the code - to be able to set block user needs to have core.admin permission on com_users

6 years ago
0
Level 2

Ok thanks, I will then use an afterstore code field with a SQL UPDATE query

cyril

Get a VIP membership