mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
fix resolve with api-secret bug
This commit is contained in:
@@ -94,7 +94,7 @@ function init (env, ctx) {
|
||||
if (authorizeAdminSecret(data.api_secret)) {
|
||||
var admin = shiroTrie.new();
|
||||
admin.add(['*']);
|
||||
return callback(null, admin);
|
||||
return callback(null, { shiro: admin });
|
||||
}
|
||||
|
||||
var denied = shiroTrie.new();
|
||||
|
||||
Reference in New Issue
Block a user