Closed nachobacanful closed 4 years ago
https://github.com/CYBEX-P/tahoe/blob/258db1543c76e8f0bceccdf47d6cf00496fdbe6b/tahoe/identity/backend.py#L58 the above line creates a User in the mock backend, this is misspelled, therefore the mock backend never gets assigned, resulting in the creation of the User in the real backend. when the check is done if the user was not created it will be registered now.
User
thisuser = tahoe.identity.User(email, _backend=tahoe.NoBackend())
https://github.com/CYBEX-P/tahoe/blob/258db1543c76e8f0bceccdf47d6cf00496fdbe6b/tahoe/identity/backend.py#L58 the above line creates a
User
in the mock backend, this is misspelled, therefore the mock backend never gets assigned, resulting in the creation of theUser
in the real backend. when the check is done if the user was not created it will be registered now.Solution