Answers.Body: <p>Your <code>/craft/config/social.php</code> file should probably look like this:</p>
  
  <pre><code>&lt;?php
  
  return [
      'lockDomains' =&gt; [
          'awebaddress.net',
      ],
  ];
  </code></pre>
  
  <p>If you wanted to add more config settings, that would look like this:</p>
  
  <pre><code>&lt;?php
  
  return [
      'lockDomains' =&gt; [
          'awebaddress.net',
      ],
      'allowEmailMatch' =&gt; false,
  ];
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-08T22:37:31.693Z
Answers.LastActivityDate: 2016-11-08T22:37:31.693Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <p>I am using the Social Login plugin from Dukt. It mentions in the configuration instructions to add things to a social.php file that you place in craft>config. </p>
  
  <p>I've done that, but I assume I'm doing something wrong with the PHP file, as it just shows up in the CP on the social login settings page, rather than actually performing the additional functions I'm looking for. </p>
  
  <p>I'm not super well-versed in PHP, so I'm sure its user error. Can anyone help? Here's the contents of my PHP file: </p>
  
  <pre><code>'lockDomains' =&gt; [
  'awebaddress.net']
  </code></pre>
  
  <p>And here is what is showing up in the control panel: 
  <a href="https://i.sstatic.net/I5iti.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/I5iti.png" alt="control panel screenshot"></a></p>
  
Tags: <php><configuration><plugin-social-login>
Title: Social Login plugin question
ThreadText: # Social Login plugin question
  
  (Asked by: username_0 on 2016-11-08)
  
  I am using the Social Login plugin from Dukt. It mentions in the configuration instructions to add things to a social.php file that you place in craft>config.
  
  I've done that, but I assume I'm doing something wrong with the PHP file, as it just shows up in the CP on the social login settings page, rather than actually performing the additional functions I'm looking for.
  
  I'm not super well-versed in PHP, so I'm sure its user error. Can anyone help? Here's the contents of my PHP file:
  
  ```
  'lockDomains' => [
  'awebaddress.net']
  
  ```
  
  And here is what is showing up in the control panel:
  [![control panel screenshot](https://i.sstatic.net/I5iti.png)](https://i.sstatic.net/I5iti.png)
  
  **Tags:** php, configuration, plugin-social-login
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-11-08. Score: 3
  
  Your `/craft/config/social.php` file should probably look like this:
  
  ```
  <?php
  
  return [
      'lockDomains' => [
          'awebaddress.net',
      ],
  ];
  
  ```
  
  If you wanted to add more config settings, that would look like this:
  
  ```
  <?php
  
  return [
      'lockDomains' => [
          'awebaddress.net',
      ],
      'allowEmailMatch' => false,
  ];
  
  ```
  
  
  ---
  
  