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 { InjectionToken } from '@angular/core'; |
||||
import { Options } from '../models/options'; |
import { Options } from '../models/options'; |
||||
|
|
||||
export function optionsFactory(options: Options) { |
export const ACCOUNT_OPTIONS = new InjectionToken<Options>('ACCOUNT_OPTIONS'); |
||||
return { |
|
||||
redirectUrl: '/', |
|
||||
...options, |
|
||||
}; |
|
||||
} |
|
||||
|
|
||||
export const ACCOUNT_OPTIONS = new InjectionToken('ACCOUNT_OPTIONS'); |
|
||||
|
|||||
Loading…
Reference in new issue