mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Move over to settings.adminAuth
This commit is contained in:
@@ -35,7 +35,7 @@ describe("api auth middleware",function() {
|
||||
done(new Error("authentication not applied to auth path"));
|
||||
}
|
||||
});
|
||||
settings.init({httpAdminAuth:{}});
|
||||
settings.init({adminAuth:{}});
|
||||
var req = {
|
||||
originalUrl: "/auth/token"
|
||||
};
|
||||
@@ -52,7 +52,7 @@ describe("api auth middleware",function() {
|
||||
done();
|
||||
}
|
||||
});
|
||||
settings.init({httpAdminAuth:{}});
|
||||
settings.init({adminAuth:{}});
|
||||
var req = {
|
||||
originalUrl: "/"
|
||||
};
|
||||
|
Reference in New Issue
Block a user