diff --git a/front/src/components/auth/ApplicationEdit.vue b/front/src/components/auth/ApplicationEdit.vue index b011b721c..84cbc57a5 100644 --- a/front/src/components/auth/ApplicationEdit.vue +++ b/front/src/components/auth/ApplicationEdit.vue @@ -7,6 +7,7 @@ import axios from 'axios' import ApplicationForm from '~/components/auth/ApplicationForm.vue' import useErrorHandler from '~/composables/useErrorHandler' +import { useStore } from '~/store' interface Props { id: number @@ -50,6 +51,10 @@ const refreshToken = async () => { } fetchApplication() + +const store = useStore() +const secret = store.state.auth.applicationSecret +store.state.auth.applicationSecret = undefined