Fix reload issue - mess query parameters after login
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52612 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
2220677d99
commit
0f3e063ac8
|
@ -108,6 +108,7 @@ export class Session{
|
|||
if(params.split("&").length > 0){
|
||||
object = {};
|
||||
}
|
||||
params =(params && params.split("?").length > 0 )?params.split("?")[1]:params;
|
||||
for(var i=0; i<params.split("&").length; i++){
|
||||
object[(params.split("&")[i]).split("=")[0]] = (params.split("&")[i]).split("=")[1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue