appstore: add unlink account route
This commit is contained in:
+1
-2
@@ -151,8 +151,7 @@ async function activate(username, password, email, displayName, ip, auditSource)
|
||||
|
||||
debug(`activate: user: ${username} email:${email}`);
|
||||
|
||||
const dashboardLocation = await dashboard.getLocation();
|
||||
await appstore.registerCloudron3(dashboardLocation.domain, constants.VERSION);
|
||||
await appstore.registerCloudron3();
|
||||
|
||||
const [error, ownerId] = await safe(users.createOwner(email, username, password, displayName, auditSource));
|
||||
if (error && error.reason === BoxError.ALREADY_EXISTS) throw new BoxError(BoxError.CONFLICT, 'Already activated');
|
||||
|
||||
Reference in New Issue
Block a user