mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-28 16:50:32 +02:00
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.
31 lines
1.2 KiB
HTML
31 lines
1.2 KiB
HTML
<div data-ng-controller="AuthenticationController">
|
|
<h3 class="col-md-12 text-center">Or with your account</h3>
|
|
<div class="col-xs-offset-2 col-xs-8 col-md-offset-5 col-md-2">
|
|
<form data-ng-submit="signin()" class="signin form-horizontal" autocomplete="off">
|
|
<fieldset>
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input type="text" id="username" name="username" class="form-control"
|
|
data-ng-model="credentials.username" placeholder="Username">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" class="form-control"
|
|
data-ng-model="credentials.password" placeholder="Password">
|
|
</div>
|
|
<div class="text-center form-group">
|
|
<button type="submit" class="btn btn-primary">Sign in</button>
|
|
or
|
|
<a data-ui-sref="authentication.signup">Sign up</a>
|
|
</div>
|
|
<div class="text-center forgot-password">
|
|
<a data-ui-sref="password.forgot">Forgot your password?</a>
|
|
</div>
|
|
<alert type="danger" data-ng-show="error" class="text-center text-danger">
|
|
<span data-ng-bind="error"></span>
|
|
</alert>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|