Skip to content

Commit

Permalink
- fix showing correct login form
Browse files Browse the repository at this point in the history
  • Loading branch information
xterm-inator committed Nov 11, 2023
1 parent 29b4358 commit 024b362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/views/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<div class="card card-md">
<div class="card-body">
<h2 class="card-title text-center mb-4">Login to your account</h2>
<div v-if="tooManyAttemptsError" class="mb-3 alert alert-danger">{{ tooManyAttemptsError }}.</div>
<div class="text-center d-grid mt-3" v-if="app.config.auth_type == AuthType.Google">
<login-with-social @authenticated="handleCompletedLogin"></login-with-social>
</div>
<div v-if="tooManyAttemptsError" class="mb-3 alert alert-danger">{{ tooManyAttemptsError }}.</div>
<form class="d-grid mt-3">
<form v-else class="d-grid mt-3">
<div class="mb-3">
<label class="form-label required">Email</label>
<input type="text" class="form-control" name="email" v-model="email" placeholder="User Email" :class="{ 'is-invalid': errors.email }">
Expand Down

0 comments on commit 024b362

Please sign in to comment.