You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While debugging and fixing a small issue in Slopes (ava-labs/avalanchejs#35), I found out that the Keystore ImportUser function is accepting empty username .
This is not aligned with the rules that are applied in the CreateUser function.
To Reproduce
Create a user
Export it via exportUser call
Try to import it with an empty username
=> You'll see the import is marked as successful .
Expected behavior
Should return an error (See behaviour of CreateUser )
Describe the bug
While debugging and fixing a small issue in Slopes (ava-labs/avalanchejs#35), I found out that the Keystore
ImportUser
function is accepting empty username .This is not aligned with the rules that are applied in the
CreateUser
function.To Reproduce
exportUser
call=> You'll see the import is marked as successful .
Expected behavior
Should return an error (See behaviour of
CreateUser
)By submitting this issue I agree to the Terms and Conditions of the Developer Accelerator Program.
The text was updated successfully, but these errors were encountered: