Skip to content

Commit f65cbfd

Browse files
committed
# 0.13.2 (2016-11-04)
* (bluefox) fix new installation
1 parent adee971 commit f65cbfd

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# 0.13.2 (2016-11-04)
2+
* (bluefox) fix new installation
3+
14
# 0.13.1 (2016-10-31)
25
* (bluefox) fix renaming of host by start
36
* (bluefox) implement auto-objects and auto-states for adapter

io-package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
{
22
"common": {
33
"name": "js-controller",
4-
"version": "0.13.1",
4+
"version": "0.13.2",
55
"platform": "Javascript/Node.js",
66
"controller": true,
77
"title": "ioBroker.js-controller",
88
"news": {
9+
"0.13.2": {
10+
"en": "fix new installation",
11+
"de": "Korrigiere neue Installation",
12+
"ru": "Исправлена новая установка"
13+
},
914
"0.13.1": {
1015
"en": "see CHANGELOG.md",
1116
"de": "Sehe CHANGELOG.md",

lib/tools.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ var fs = require('fs');
22
require('events').EventEmitter.prototype._maxListeners = 100;
33
var request;
44
var extend;
5+
var password;
56

67
function getAppName() {
78
var parts = __dirname.replace(/\\/g, '/').split('/');
@@ -146,6 +147,8 @@ function createUuid(_objects, callback) {
146147
var _uuid;
147148
_objects.getObject('system.user.admin', function (err, obj) {
148149
if (err || !obj) {
150+
password = password || require(__dirname + '/password');
151+
149152
// Default Password for user 'admin' is application name in lower case
150153
password(getAppName()).hash(null, null, function (err, res) {
151154
if (err) console.error(err);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iobroker.js-controller",
3-
"version": "0.13.1",
3+
"version": "0.13.2",
44
"engines": {
55
"node": ">=0.8"
66
},

0 commit comments

Comments
 (0)