cloudron 4.12.7 → 4.12.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloudron",
3
- "version": "4.12.7",
3
+ "version": "4.12.8",
4
4
  "license": "MIT",
5
5
  "description": "Cloudron Commandline Tool",
6
6
  "main": "main.js",
package/src/actions.js CHANGED
@@ -261,7 +261,7 @@ async function authenticate(adminFqdn, username, password, options) {
261
261
  if (askForTotpToken) totpToken = readlineSync.question('2FA Token: ', {});
262
262
 
263
263
  const request = superagent.post(`https://${adminFqdn}/api/v1/cloudron/login`)
264
- .timeout(10000)
264
+ .timeout(60000)
265
265
  .send({ username, password, totpToken })
266
266
  .ok(() => true)
267
267
  .set('User-Agent', 'cloudron-cli');
@@ -295,7 +295,7 @@ async function login(adminFqdn, options) {
295
295
  let token = config.token();
296
296
  if (token) { // check if the token is not expired
297
297
  const [error, response] = await safe(superagent.get(`https://${adminFqdn}/api/v1/profile?access_token=${token}`)
298
- .timeout(10000)
298
+ .timeout(60000)
299
299
  .ok(() => true));
300
300
  if (error) return exit(error);
301
301
  if (response.status === 200) {
@@ -1,3 +1,3 @@
1
- FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
1
+ FROM cloudron/base:3.1.0@sha256:eb2ab9c7d361acda2f3ef2d8388154bc48f1651b5013fe6de4beea003018e427
2
2
 
3
3
  EXPOSE <%- httpPort %>