Skip to content

Commit

Permalink
Merge pull request #94 from abes-esr/main
Browse files Browse the repository at this point in the history
update develop
  • Loading branch information
pierre-maraval authored Jul 12, 2024
2 parents 6272d86 + f28e622 commit d882afa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/Utilisateur/ModificationEmail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@

<script setup>
import Email from '@/components/Email.vue';
import { ref } from 'vue';
import router from '@/router';
import {useAuthStore} from '@/store/authStore'
const authStore = useAuthStore()
const user = authStore.getUser
function setEmailUser(email){
user.value.email = email;
user.email = email;
authStore.setUser(user);
router.push('Accueil');
}
Expand Down

0 comments on commit d882afa

Please sign in to comment.