Skip to content
Snippets Groups Projects
Verified Commit d65e3e6e authored by Martin Weise's avatar Martin Weise
Browse files

Merge branch 'master' into dev

parents 96a5d50e 616e4a7b
No related branches found
No related tags found
2 merge requests!379Fixed the sync,!377Fixed the sync
......@@ -61,7 +61,7 @@
</template>
<script setup>
const { loggedIn } = useOidcAuth()
const { loggedIn, user } = useOidcAuth()
</script>
<script>
import UserToolbar from '@/components/user/UserToolbar.vue'
......@@ -113,6 +113,10 @@ export default {
const userService = useUserService()
userService.updatePassword(this.cacheUser.uid, {'password': this.password})
.then(() => {
const user = Object.assign({}, this.cacheUser)
user.setup_finished = true
this.cacheStore.setUser(user)
// fixme [mweise]: currently nuxt-oidc-auth cannot refresh the session correctly
const toast = useToastInstance()
toast.success(this.$t('success.user.password'))
this.loadingUpdate = false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment