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 {
|
export class AuthMethodModel {
|
||||||
authMethodType: AuthMethodType;
|
authMethodType: AuthMethodType;
|
||||||
location?: string;
|
location?: string;
|
||||||
isStandalonePage?: boolean;
|
|
||||||
|
|
||||||
constructor(authMethodName: string, location?: string, isStandAlonePage?: boolean) {
|
constructor(authMethodName: string, location?: string) {
|
||||||
switch (authMethodName) {
|
switch (authMethodName) {
|
||||||
case 'ip': {
|
case 'ip': {
|
||||||
this.authMethodType = AuthMethodType.Ip;
|
this.authMethodType = AuthMethodType.Ip;
|
||||||
@@ -29,7 +28,6 @@ export class AuthMethodModel {
|
|||||||
}
|
}
|
||||||
case 'password': {
|
case 'password': {
|
||||||
this.authMethodType = AuthMethodType.Password;
|
this.authMethodType = AuthMethodType.Password;
|
||||||
this.isStandalonePage = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user