diff options
Diffstat (limited to 'node/db/SecurityManager.js')
-rw-r--r-- | node/db/SecurityManager.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/db/SecurityManager.js b/node/db/SecurityManager.js index 4b86d868..33ab37d4 100644 --- a/node/db/SecurityManager.js +++ b/node/db/SecurityManager.js @@ -18,6 +18,7 @@ * limitations under the License. */ +var CommonCode = require('../utils/common_code'); var ERR = require("async-stacktrace"); var db = require("./DB").db; var async = require("async"); @@ -25,8 +26,7 @@ var authorManager = require("./AuthorManager"); var padManager = require("./PadManager"); var sessionManager = require("./SessionManager"); var settings = require("../utils/Settings") - -var randomString = require("../utils/randomstring"); +var randomString = CommonCode.require('/pad_utils').randomString; /** * This function controlls the access to a pad, it checks if the user can access a pad. |