mirror of https://github.com/abpframework/abp.git
1 changed files with 1 additions and 8 deletions
@ -1,11 +1,4 @@ |
|||
import { InjectionToken } from '@angular/core'; |
|||
import { Options } from '../models/options'; |
|||
|
|||
export function optionsFactory(options: Options) { |
|||
return { |
|||
redirectUrl: '/', |
|||
...options, |
|||
}; |
|||
} |
|||
|
|||
export const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); |
|||
export const ACCOUNT_OPTIONS = new InjectionToken<Options>('ACCOUNT_OPTIONS'); |
|||
|
|||
Loading…
Reference in new issue