Skip to content

Commit

Permalink
refactor: restore previous implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-osch committed Jan 21, 2025
1 parent ec6fc8f commit c830936
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vue/src/components/Topbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ export default {
signIn() {
this.error = ''
const fieldsMissing = this.email || !this.password
if (fieldsMissing) {
if (!this.email || !this.password) {
this.error = 'Please fill in all fields.'
return
}
Expand Down

0 comments on commit c830936

Please sign in to comment.