Merge branch 'master' into 1240-Account-not-activated-needs-a-button-to-login-page

This commit is contained in:
Alexander Friedland 2022-01-09 12:05:34 +01:00 committed by GitHub
commit 58690e54e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ describe('UserSearch', () => {
})
it('filters the users by unconfirmed emails', () => {
expect(wrapper.vm.searchResult).toHaveLength(0)
expect(wrapper.vm.searchResult).toHaveLength(1)
})
})

View File

@ -75,7 +75,7 @@ export default {
methods: {
unconfirmedRegisterMails() {
this.searchResult = this.searchResult.filter((user) => {
return user.emailChecked
return !user.emailChecked
})
},
getUsers() {