Skip to content

Commit ba0bf64

Browse files
committed
Add roles when creating user see BT#13066
1 parent b8822e3 commit ba0bf64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/webservices/registration.soap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,6 +1366,7 @@ function WSCreateUserPasswordCrypted($params)
13661366
phone = '".Database::escape_string($phone)."',
13671367
language = '".Database::escape_string($language)."',
13681368
registration_date = '".api_get_utc_datetime()."',
1369+
roles = 'a:0:{}',
13691370
".$queryExpirationDate."
13701371
hr_dept_id = '".Database::escape_string($hr_dept_id)."',
13711372
active = '".Database::escape_string($active)."'";

0 commit comments

Comments
 (0)