Make emails unique

Emails are made unique. When user attempts to sign in through a provider in which his email is one that is already registered, user is redirected to the signin page with an error passed as a query string parameter.
This commit is contained in:
Igor Freire
2015-02-28 19:09:12 -03:00
parent e1605b635b
commit 5d4d7cecfe
6 changed files with 17 additions and 10 deletions

View File

@@ -18,12 +18,12 @@
  or 
<a data-ui-sref="authentication.signup">Sign up</a>
</div>
<div class="forgot-password">
<div class="text-center forgot-password">
<a data-ui-sref="password.forgot">Forgot your password?</a>
</div>
<div data-ng-show="error" class="text-center text-danger">
<strong data-ng-bind="error"></strong>
</div>
<alert type="danger" data-ng-show="error" class="text-center text-danger">
<span data-ng-bind="error"></span>
</alert>
</fieldset>
</form>
</div>