diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-09-08 10:18:32 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-09-08 10:18:32 +0000 |
| commit | 17f73fbe0662b07eb85004bfb8f6546eeb61c743 (patch) | |
| tree | b86b2a6174246b08df78ba72e5d914ffa320bac9 /indoteknik_api/controllers/api_v1 | |
| parent | 7a34ad0965e08d1428c700f09a49f30f17c1996c (diff) | |
| parent | 03db5f5bfd027fceeb0733bbb51e95e03c43d2cd (diff) | |
Merged in sso_web (pull request #405)
<hapid> Fix oauth google
Diffstat (limited to 'indoteknik_api/controllers/api_v1')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/user.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/user.py b/indoteknik_api/controllers/api_v1/user.py index dde30fec..c75e4954 100644 --- a/indoteknik_api/controllers/api_v1/user.py +++ b/indoteknik_api/controllers/api_v1/user.py @@ -89,7 +89,8 @@ class User(controller.Controller): 'name': name, 'login': email, 'oauth_provider_id': request.env.ref('auth_oauth.provider_google').id, - 'sel_groups_1_9_10': 9 + 'sel_groups_1_9_10': 9, + 'active': True } user = request.env['res.users'].create(user_data) |
