Verified Commit a0d91da5 authored by Torsten Grote's avatar Torsten Grote
Browse files

Add TODO for not allowing double account creation

parent c90a7261
......@@ -159,6 +159,7 @@ class AccountManagerImpl implements AccountManager {
public boolean createAccount(String name, String password) {
synchronized (stateChangeLock) {
// TODO don't allow creating another account if one already exists
LocalAuthor localAuthor = identityManager.createLocalAuthor(name);
SecretKey key = crypto.generateSecretKey();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment