             for docType, description of appli.permissions
                 docType = docType.toLowerCase()
                 permissions[appli.name][docType] = description
-            callback null
+    callback null
 
 
 ## function init (callback)


permissions = {}
tokens = {}


## function checkToken (auth, tokens, callback)

## Initialize tokens which contains applications and their tokens
module.exports.init = (callback) ->
    # Read shared token
    if productionOrTest
        initHomeProxy () ->
            # Add token and permissions for other started applications
            db.view 'application/all', (err, res) ->
