atomicDEX-API icon indicating copy to clipboard operation
atomicDEX-API copied to clipboard

feat(wallets): restrict wallet creation with `allow_registrations` flag

Open CharlVS opened this issue 6 months ago • 2 comments

KDF startup throws an error if the allow_registrations config value is false and the seed is unknown (no name provided) or if a name is provided and it has not been registered before. Defaults to true (current dev behaviour)

This is used to emulate the sign-in vs register behaviour a typical auth service would provide.

TODO: Tests

CharlVS avatar Aug 28 '24 11:08 CharlVS