Branch change commit

This commit is contained in:
Julius Gruber
2019-09-02 16:23:30 +02:00
parent 901951eaa8
commit 7e292cdde4
2 changed files with 7 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<div>
<a class="btn btn-lg btn-primary btn-block mt-3" type="submit"
[href]="authMethodModel.location"
[href]="buttonHref"
role="button"
>{{"login.shibboleth" | translate}}</a>
</div>

View File

@@ -14,11 +14,14 @@ export class DynamicShibbolethComponent implements OnInit {
@Input() authMethodModel: AuthMethodModel;
buttonHref: string;
/**
* @constructor
*/
constructor(@Inject('authMethodModelProvider') public injectedAuthMethodModel: AuthMethodModel) {
this.authMethodModel = injectedAuthMethodModel;
this.buttonHref = ('https://fis.tiss.tuwien.ac.at' + this.authMethodModel.location + '/shibboleth')
}
ngOnInit(): void {