mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Fix display order of authentication methods
This commit is contained in:
@@ -6,10 +6,11 @@ import { EPerson } from '../../core/eperson/models/eperson.model';
|
||||
import { createSuccessfulRemoteDataObject$ } from '../remote-data.utils';
|
||||
import { AuthMethod } from '../../core/auth/models/auth.method';
|
||||
import { hasValue } from '../empty.util';
|
||||
import { AuthMethodType } from '../../core/auth/models/auth.method-type';
|
||||
|
||||
export const authMethodsMock = [
|
||||
new AuthMethod('password'),
|
||||
new AuthMethod('shibboleth', 'dspace.test/shibboleth')
|
||||
export const authMethodsMock: AuthMethod[] = [
|
||||
new AuthMethod(AuthMethodType.Password, 0),
|
||||
new AuthMethod(AuthMethodType.Shibboleth, 1, 'dspace.test/shibboleth'),
|
||||
];
|
||||
|
||||
export class AuthServiceStub {
|
||||
|
Reference in New Issue
Block a user