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