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
The new Auth class has no way to see if a password has previously been set or not, meaning you just have to try and construct one and see what happens. This makes building a UI where you set up a Peer for the first time difficult.
Is there a solution you'd like to recommend?
Add a new Auth.isSetup(storage) static method which checks if an encrypted challenge has already been set in the given storage.
The text was updated successfully, but these errors were encountered:
What's the problem you want solved?
The new
Auth
class has no way to see if a password has previously been set or not, meaning you just have to try and construct one and see what happens. This makes building a UI where you set up aPeer
for the first time difficult.Is there a solution you'd like to recommend?
Add a new
Auth.isSetup(storage)
static method which checks if an encrypted challenge has already been set in the given storage.The text was updated successfully, but these errors were encountered: