mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-15 08:12:25 +02:00
Fix PAT & Webauthn registration - Fixes #227
This commit is contained in:
@ -88,6 +88,14 @@
|
||||
});
|
||||
|
||||
},
|
||||
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next(vm => {
|
||||
if (from.params.returnTo) {
|
||||
to.params.returnTo = from.params.returnTo
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user