title: How to share customer account globally in magento
body: <p>I'm trying to share my customer account Globally:</p>
  
  <p>I have two stores : </p>
  
  <pre><code>www.mainstore.com
  
  store1.mainstore.com
  </code></pre>
  
  <p>I want to add functionality that if customer register any of the store can have access to login any store with same details.</p>
  
  <p>To activate this made some changes in <code>admin panel &gt; system &gt; configuration &gt; customer configuration &gt; Account Sharing Option &gt; Share Customer Accounts &gt; Global</code>.</p>
  
  <p>After changing the setting to Global when i click on save Config button i got below error :
  <strong>Error :</strong> <code>Cannot share customer accounts globally because some customer accounts with the same emails exist on multiple websites and cannot be merged.</code> </p>
  
  <p><img src="https://i.stack.imgur.com/F7NQy.png" alt="enter image description here"></p>
  
  <p>Why i am getting this error ?
  Suggest me the solution for this issue.</p>