mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
delete pid from query object
This commit is contained in:
parent
6665c17f0b
commit
20466d311c
@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => {
|
||||
const publisherId = to.query.pid
|
||||
if (publisherId) {
|
||||
store.commit('publisherId', publisherId)
|
||||
to.query.pid = undefined
|
||||
delete to.query.pid
|
||||
}
|
||||
if (to.meta.requiresAuth && !store.state.token) {
|
||||
next({ path: '/login' })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user