Remove password change form

This commit is contained in:
Ramon Wenger 2020-02-26 18:36:31 +01:00
parent 5054f21bc9
commit 162615ce5c
2 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,5 @@
<template>
<!-- Not currently in use, but keeping the file in case it's needed again -->
<div class="password-reset">
<h2 class="password-reset__header">Passwort ändern</h2>
<div v-if="showSuccess" class="success-message">

View File

@ -11,22 +11,18 @@
</a>
</div>
<avatar-upload-form v-else @avatarUpdate="updateAvatar"/>
<password-change />
</div>
</template>
<script>
import UPDATE_AVATAR_QUERY from '@/graphql/gql/mutations/updateAvatarUrl.gql';
import ME_QUERY from '@/graphql/gql/meQuery.gql';
import PasswordChange from '@/components/profile/PasswordChange';
import AvatarUploadForm from '@/components/profile/AvatarUploadForm';
import Avatar from '@/components/profile/Avatar';
import TrashIcon from '@/components/icons/TrashIcon';
export default {
components: {
PasswordChange,
AvatarUploadForm,
Avatar,
TrashIcon