Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1560 | fixing access denied signin button
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Apr 26, 2023
1 parent 126e751 commit 5c656ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/common/AccessDenied.jsx
@@ -1,9 +1,9 @@
import React from 'react';
import { getLoginURL, isSSOEnabled } from '../../common/utils'
import { getLoginURL } from '../../common/utils'
import ErrorUI from './ErrorUI';

const AccessDenied = () => {
const loginURL = getLoginURL(isSSOEnabled() ? window.location.origin + '/' + window.location.hash : window.location.hash.replace('#', ''))
const loginURL = getLoginURL()
return (
<ErrorUI
header='401'
Expand Down

0 comments on commit 5c656ac

Please sign in to comment.