fix
This commit is contained in:
27
patching/130-ozone-skip-did-check.patch
Normal file
27
patching/130-ozone-skip-did-check.patch
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
--- a/components/shell/ConfigurationFlow.tsx
|
||||||
|
+++ b/components/shell/ConfigurationFlow.tsx
|
||||||
|
@@ -97,22 +97,6 @@ export function ConfigurationFlow({
|
||||||
|
}
|
||||||
|
|
||||||
|
if (config.needs.key || config.needs.service) {
|
||||||
|
- if (authDid !== config.did) {
|
||||||
|
- return (
|
||||||
|
- <>
|
||||||
|
- <ErrorInfo type="warn" className="mt-2">
|
||||||
|
- {`You're`} logged in as {authIdentifier}. Please login as{' '}
|
||||||
|
- {config.handle || 'your Ozone service account'} in order to
|
||||||
|
- configure Ozone.
|
||||||
|
- </ErrorInfo>
|
||||||
|
- <Button
|
||||||
|
- className="w-full mt-2"
|
||||||
|
- icon={<ArrowLeftOnRectangleIcon />}
|
||||||
|
- onClick={signOut}
|
||||||
|
- >
|
||||||
|
- Restart
|
||||||
|
- </Button>
|
||||||
|
- </>
|
||||||
|
- )
|
||||||
|
- }
|
||||||
|
if (config.did.startsWith('did:web:')) {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
Reference in New Issue
Block a user