Fix display order of authentication methods

This commit is contained in:
Alexandre Vryghem
2023-08-02 00:00:37 +02:00
parent ca864379c8
commit 71cf66ecf4
20 changed files with 107 additions and 173 deletions

View File

@@ -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;