cloudron 5.9.0 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/appstore-actions.js +1 -1
- package/src/build-actions.js +1 -1
package/package.json
CHANGED
package/src/appstore-actions.js
CHANGED
|
@@ -72,7 +72,7 @@ async function authenticate(options) {
|
|
|
72
72
|
|
|
73
73
|
config.setAppStoreToken(null);
|
|
74
74
|
|
|
75
|
-
const response = await superagent.post(createUrl('/api/v1/login')).auth(email, password).send({ totpToken: options.totpToken });
|
|
75
|
+
const response = await superagent.post(createUrl('/api/v1/login')).auth(email, password).send({ totpToken: options.totpToken }).ok(() => true);
|
|
76
76
|
if (response.statusCode === 401 && response.body.message.indexOf('TOTP') !== -1) {
|
|
77
77
|
if (response.body.message === 'TOTP token missing') console.log('A 2FA TOTP Token is required for this account.');
|
|
78
78
|
|
package/src/build-actions.js
CHANGED
|
@@ -323,7 +323,7 @@ function build(options) {
|
|
|
323
323
|
url = readlineSync.question('Enter build service URL: ', { });
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
if (
|
|
326
|
+
if (url.indexOf('://') === -1) url = `https://${url}`;
|
|
327
327
|
buildService.url = url;
|
|
328
328
|
}
|
|
329
329
|
|