Commit 18fd3ca7 authored by Janis Streib's avatar Janis Streib

FIX: more navigation gurad bugs

parent 02066bc8
......@@ -19,7 +19,7 @@ export default {
if (response.data.login != null) {
self.$store.commit('login', {user: response.data.login, token: response.data.token})
let redir = window.localStorage.getItem('oic_redir_after_login') || '/dnsvs/bcds'
if (redir === '/login' || redir === '/oic_login') {
if (redir === '/login' || redir === '/oic_login' || redir === '/') {
redir = '/dnsvs/bcds'
}
window.localStorage.removeItem('oic_redir_after_login')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment