Files
bitvid/js/services/authProviders/generate.js
T
google-labs-jules[bot] 3c152acd40 feat: add 'Create Account' flow to login modal
- Implements a new `generate` auth provider with a no-op `login` method to bypass controller filters.
- Updates `LoginModalController.js` to intercept the `generate` provider and render an internal key generation view.
- Adds `components/login-modal.html` template for the generation flow, including key masking and copy/download actions.
- Creates `content/nostr-keys.md` documentation page and links it from the sidebar and generation view.
- Fixes a syntax error in the controller by restoring missing methods.
- Adds unit tests to verify the generation flow logic.
2026-01-15 18:21:19 +00:00

11 lines
202 B
JavaScript

export default {
id: "generate",
label: "Create Account",
description: "New to Nostr? Start here.",
badgeVariant: "success",
button: {
variant: "outline",
},
login: async () => {},
};