mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Removed isStandalonePage property from AuthMethodModel class
This commit is contained in:
@@ -4,9 +4,8 @@ import { ShibbConstants } from '../../../+login-page/shibbolethTargetPage/const/
|
||||
export class AuthMethodModel {
|
||||
authMethodType: AuthMethodType;
|
||||
location?: string;
|
||||
isStandalonePage?: boolean;
|
||||
|
||||
constructor(authMethodName: string, location?: string, isStandAlonePage?: boolean) {
|
||||
constructor(authMethodName: string, location?: string) {
|
||||
switch (authMethodName) {
|
||||
case 'ip': {
|
||||
this.authMethodType = AuthMethodType.Ip;
|
||||
@@ -29,7 +28,6 @@ export class AuthMethodModel {
|
||||
}
|
||||
case 'password': {
|
||||
this.authMethodType = AuthMethodType.Password;
|
||||
this.isStandalonePage = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user