Removed building of target param from auth-method.model2

This commit is contained in:
Julius Gruber
2019-10-22 11:02:13 +02:00
parent 0df7bb57a6
commit a851a71f22

View File

@@ -18,8 +18,8 @@ export class AuthMethodModel {
} }
case 'shibboleth': { case 'shibboleth': {
this.authMethodType = AuthMethodType.Shibboleth; this.authMethodType = AuthMethodType.Shibboleth;
const strings: string[] = location.split('target='); // const strings: string[] = location.split('target=');
const target = strings[1]; // const target = strings[1];
// this.location = target + location + '/' + ShibbConstants.SHIBBOLETH_REDIRECT_ROUTE; // this.location = target + location + '/' + ShibbConstants.SHIBBOLETH_REDIRECT_ROUTE;
this.location = location + '/' + ShibbConstants.SHIBBOLETH_REDIRECT_ROUTE; this.location = location + '/' + ShibbConstants.SHIBBOLETH_REDIRECT_ROUTE;
break; break;