rework cloudron registration flow

we now route all the registration, login etc via the backend

subscription management are also in a separate scope now
This commit is contained in:
Girish Ramakrishnan
2019-05-03 16:27:47 -07:00
parent 7e7e067b5b
commit 3246edd5a8
15 changed files with 259 additions and 265 deletions

View File

@@ -49,7 +49,6 @@ function setup(done) {
});
},
settingsdb.set.bind(null, settings.APPSTORE_CONFIG_KEY, JSON.stringify({ userId: 'USER_ID', cloudronId: 'CLOUDRON_ID', token: 'ACCESS_TOKEN' })),
settingsdb.set.bind(null, settings.CLOUDRON_TOKEN_KEY, 'CLOUDRON_TOKEN')
], done);
}