diff --git a/src/controllers/AuthController.ts b/src/controllers/AuthController.ts index 8e488c5..2ed2677 100644 --- a/src/controllers/AuthController.ts +++ b/src/controllers/AuthController.ts @@ -40,20 +40,6 @@ export class AuthController { console.error('Error occurred while finding metadata', err) }) - // Nostr uses unix timestamps - const timestamp = Math.floor(Date.now() / 1000) - const { hostname } = window.location - - const authEvent: EventTemplate = { - kind: 1, - tags: [], - content: `${hostname}-${timestamp}`, - created_at: timestamp - } - - const signedAuthEvent = await this.nostrController.signEvent(authEvent) - this.createAndSaveAuthToken(signedAuthEvent) - store.dispatch( setAuthState({ loggedIn: true, diff --git a/src/pages/verify/index.tsx b/src/pages/verify/index.tsx index b7900d4..09133e8 100644 --- a/src/pages/verify/index.tsx +++ b/src/pages/verify/index.tsx @@ -388,6 +388,10 @@ export const VerifyPage = () => { setIsLoading(false) } + /** + * + * @returns exported.zip including signed files and meta info (about signers and viewers) + */ const handleExport = async () => { if (!meta || !zip || !usersPubkey) return