Skip to content

Commit

Permalink
Merge pull request #5779 from pmattmann/feature/simple-test-login
Browse files Browse the repository at this point in the history
simplify test user login
  • Loading branch information
manuelmeister authored Aug 27, 2024
2 parents 1bb8d25 + d91decc commit c46bd42
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions frontend/src/views/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@
<i18n :path="infoTextKey">
<template #br><br /></template>
</i18n>
<v-btn
text
elevation="0"
color="warning darken-3"
height="32px"
class="v-btn--has-bg float-end dev-login-button"
@click="
() => {
email = '[email protected]'
password = 'test'
login()
}
"
>
Login
<v-icon right>mdi-auto-fix</v-icon>
</v-btn>
</div>
</v-alert>
<v-alert v-if="error" outlined text border="left" type="error">
Expand Down Expand Up @@ -272,4 +289,10 @@ export default {
flex-direction: column;
}
}
.dev-login-button {
background-color: #f7e4cc !important;
margin-top: 12px;
margin-bottom: -12px;
translate: 0 -12px;
}
</style>

0 comments on commit c46bd42

Please sign in to comment.