Nostr: enable Nostr login

This commit is contained in:
Alex Gleason
2023-10-04 18:03:26 -05:00
parent 3cebd961ca
commit 28731f6087
4 changed files with 123 additions and 70 deletions

View File

@ -685,6 +685,12 @@ const getInstanceFeatures = (instance: Instance) => {
*/
nostrSign: v.software === DITTO,
/**
* Whether the backend uses Ditto's Nosteric way of registration.
* @see POST /api/v1/accounts
*/
nostrSignup: v.software === DITTO,
/**
* Add private notes to accounts.
* @see POST /api/v1/accounts/:id/note