some changes in login page

This commit is contained in:
Timo Volkmann 2019-05-14 13:48:43 +02:00
parent ff3deabb51
commit eabf972012

View File

@ -1,6 +1,6 @@
<template>
<div class="q-pa-md">
<form class="login">
<form class="login" @submit.prevent="login">
<div class="q-pa-md">
<div class="column q-gutter-lg" style="">
<div class="col">
@ -23,14 +23,13 @@
<div class="">
<div class="" style="max-width: 440px">
<q-btn
type="submit"
:outline="userAuthenticated"
:disabled="userAuthenticated"
:loading="loading"
label="Login"
color="primary"
class="full-width"
@click="login"
@keyup.enter="login"
unelevated
>
<template v-slot:loading>
@ -114,7 +113,7 @@
let title;
if (error.response) {
title = "Fehler!";
msg = error.response.data;
msg = "E-Mail oder Passwort ist falsch. Bitte überprüfe deine Eingaben!";
} else if (error.request) {
title = "Verbindungsfehler!";
msg = "Es konnte keine Verbindung zum Server aufgebaut werden. Versuchen Sie es später noch einmal!"