From 75a1be51d69cbd4a22d34192966a5747e0a1c560 Mon Sep 17 00:00:00 2001 From: hw Date: Tue, 28 Jun 2022 22:49:14 -0400 Subject: [PATCH] feat: restrict login to axelerant.com domain This partially fixes #15 except that we can't remove the code in ct_user yet. That code is responsible for activating the user. We can't enable activation for all registrations as Drupal's user registration form is still enabled. Social Auth module has no feature to enable users created through Social Auth flow. --- config/sync/social_auth_google.settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sync/social_auth_google.settings.yml b/config/sync/social_auth_google.settings.yml index 2c872281..3363c6db 100644 --- a/config/sync/social_auth_google.settings.yml +++ b/config/sync/social_auth_google.settings.yml @@ -2,4 +2,4 @@ client_id: env client_secret: env scopes: '' endpoints: '' -restricted_domain: '' +restricted_domain: axelerant.com