[webpack.login] login successful redirects to URL page (allows direct access)
This commit is contained in:
parent
c8c1bf2ede
commit
ad67e62680
|
@ -79,7 +79,9 @@ window.cas_callback = function(cas_login){
|
|||
gstore.get.login_error_text = 'Vous êtes connectés. Vous allez être redirigé.';
|
||||
gstore.get.login_class = 'valid';
|
||||
|
||||
setTimeout(function(){ document.location = '/'; }, 1500);
|
||||
var redirect_url = `/${gstore.get.URI.join('/')}`;
|
||||
|
||||
setTimeout(function(){ document.location = redirect_url; }, 1500);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue