<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>

CC BY-SA 3.0
2016-11-08T22:37:31.693Z
2016-11-08T22:37:31.693Z
Mats Mikkel Rummelhoff
<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>

<php><configuration><plugin-social-login>
Social Login plugin question
# 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:

**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:
 [
        'awebaddress.net',
    ],
];

If you wanted to add more config settings, that would look like this:
 [
        'awebaddress.net',
    ],
    'allowEmailMatch' => false,
];


---

