Dashboard logout should trigger OAuth logout endpoint
This commit is contained in:
parent
d0edc5b2bc
commit
165998cf1c
3 changed files with 26 additions and 2 deletions
3
src/common/util/domain.ts
Normal file
3
src/common/util/domain.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export function getDomainName(hostName: string) {
|
||||
return hostName.substring(hostName.lastIndexOf('.', hostName.lastIndexOf('.') - 1) + 1);
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
export { isTouched } from './is-touched';
|
||||
export { addParamsToLink } from './add-params-to-link';
|
||||
export * from './is-touched';
|
||||
export * from './add-params-to-link';
|
||||
export * from './domain';
|
||||
|
|
|
|||
Reference in a new issue