Answers.Body: <p>You're close!  Those config settings are off in no-mans-land right now.  If you want them to apply across all of your multi-environment configs, you need to move them into the <code>'*'</code> array like so:</p>
  
  <pre><code>return array(
  
      '*' =&gt; array(
          'omitScriptNameInUrls' =&gt; true,
          'setPasswordPath' =&gt; 'user/set-password',
          'activateAccountSuccessPath' =&gt; 'user/activation-success',
          'autoLoginAfterAccountActivation' =&gt; true,
      ),
  
      '.local' =&gt; array(
          'devMode' =&gt; true,
          'userSessionDuration' =&gt; false
      ),
  
      '.co.uk' =&gt; array(
          'cooldownDuration' =&gt; 0,
      ),
  
      '.com' =&gt; array(
          'cooldownDuration' =&gt; 0,
      )
  );
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-18T09:46:24.753Z
Answers.Text: Ah, don't know how I didn't figure that out. Thanks, all working now!
Answers.UserDisplayName: richardpixel
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-16T06:03:02.290Z
Answers.LastActivityDate: 2016-01-17T05:09:34.460Z
Answers.LastEditDate: 2016-01-17T05:09:34.460Z
Answers.UserDisplayName: Brad Bell
Body: <p>I've tried to set some things in my general.php config file but they're being ignored.</p>
  
  <p>I have the following but all are being ignored. For example, when the user receives the activation email, upon clicking the link the account is activated but they're not taken to my template 'user/activation-success' but instead the homepage and also not automatically logged in, like I'm setting. Any ideas?</p>
  
  <pre><code>return array(
      'setPasswordPath' =&gt; 'user/set-password',
      'activateAccountSuccessPath' =&gt; 'user/activation-success',
      'autoLoginAfterAccountActivation' =&gt; true
  );
  </code></pre>
  
  <p>I'm running 2.5.2757.</p>
  
  <p>Updated to show my full config file:</p>
  
  <pre><code>&lt;?php
  
  return array(
      'setPasswordPath' =&gt; 'user/set-password',
      'activateAccountSuccessPath' =&gt; 'user/activation-success',
      'autoLoginAfterAccountActivation' =&gt; true,
  
      '*' =&gt; array(
          'omitScriptNameInUrls' =&gt; true,
      ),
  
      '.local' =&gt; array(
          'devMode' =&gt; true,
          'userSessionDuration' =&gt; false
      ),
  
      '.co.uk' =&gt; array(
          'cooldownDuration' =&gt; 0,
      ),
  
      '.com' =&gt; array(
          'cooldownDuration' =&gt; 0,
      )
  );
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-14T18:14:52.013Z
Comments.Text: Are you sure you're not already logged in with another account when you're testing this?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T08:10:55.813Z
Comments.Text: No, I'm using a different browser and ensuring that there is no logged in user on it. I've tried this many times now with no joy.
Comments.UserDisplayName: richardpixel
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T18:14:05.570Z
Comments.Text: Is this your full general.php file, or is it just a pared-down version?
Comments.UserDisplayName: Patrick Harrington
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-01-15T18:35:43.393Z
Comments.Text: No but I've updated the above to show it. The domain based items (i.e. 'devMode' => true) are working fine.
Comments.UserDisplayName: richardpixel
Tags: <templating><users><config><activation><member>
Title: Some paths and settings being ignored in config
ThreadText: # Some paths and settings being ignored in config
  
  (Asked by: username_0 on 2016-01-14)
  
  I've tried to set some things in my general.php config file but they're being ignored.
  
  I have the following but all are being ignored. For example, when the user receives the activation email, upon clicking the link the account is activated but they're not taken to my template 'user/activation-success' but instead the homepage and also not automatically logged in, like I'm setting. Any ideas?
  
  ```
  return array(
      'setPasswordPath' => 'user/set-password',
      'activateAccountSuccessPath' => 'user/activation-success',
      'autoLoginAfterAccountActivation' => true
  );
  
  ```
  
  I'm running 2.5.2757.
  
  Updated to show my full config file:
  
  ```
  <?php
  
  return array(
      'setPasswordPath' => 'user/set-password',
      'activateAccountSuccessPath' => 'user/activation-success',
      'autoLoginAfterAccountActivation' => true,
  
      '*' => array(
          'omitScriptNameInUrls' => true,
      ),
  
      '.local' => array(
          'devMode' => true,
          'userSessionDuration' => false
      ),
  
      '.co.uk' => array(
          'cooldownDuration' => 0,
      ),
  
      '.com' => array(
          'cooldownDuration' => 0,
      )
  );
  
  ```
  
  **Tags:** templating, users, config, activation, member
  
  > **Comments:**
  > **username_1**: Are you sure you're not already logged in with another account when you're testing this?  
  > **username_0**: No, I'm using a different browser and ensuring that there is no logged in user on it. I've tried this many times now with no joy.  
  > **username_2**: Is this your full general.php file, or is it just a pared-down version?  
  > **username_0**: No but I've updated the above to show it. The domain based items (i.e. 'devMode' => true) are working fine.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-01-16. Score: 4 | Accepted answer
  
  You're close! Those config settings are off in no-mans-land right now. If you want them to apply across all of your multi-environment configs, you need to move them into the `'*'` array like so:
  
  ```
  return array(
  
      '*' => array(
          'omitScriptNameInUrls' => true,
          'setPasswordPath' => 'user/set-password',
          'activateAccountSuccessPath' => 'user/activation-success',
          'autoLoginAfterAccountActivation' => true,
      ),
  
      '.local' => array(
          'devMode' => true,
          'userSessionDuration' => false
      ),
  
      '.co.uk' => array(
          'cooldownDuration' => 0,
      ),
  
      '.com' => array(
          'cooldownDuration' => 0,
      )
  );
  
  ```
  
  > **Comments:**
  > **username_0**: Ah, don't know how I didn't figure that out. Thanks, all working now!  
  
  ---
  
  