mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
Fix display order of authentication methods
This commit is contained in:
@@ -2,11 +2,12 @@ import { AuthMethodType } from './auth.method-type';
|
||||
|
||||
export class AuthMethod {
|
||||
authMethodType: AuthMethodType;
|
||||
position: number;
|
||||
location?: string;
|
||||
|
||||
// isStandalonePage? = true;
|
||||
constructor(authMethodName: string, position: number, location?: string) {
|
||||
this.position = position;
|
||||
|
||||
constructor(authMethodName: string, location?: string) {
|
||||
switch (authMethodName) {
|
||||
case 'ip': {
|
||||
this.authMethodType = AuthMethodType.Ip;
|
||||
|
Reference in New Issue
Block a user