mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
1c56221d80
refs #9865 - Added `auth.authenticate.authenticateAdminApiKey` middleware - accepts signed JWT in an `Authorization: Ghost [token]` header - sets `req.api_key` if the token is valid - Updated `authenticatePrivate` middleware stack for v2 admin routes
9 lines
145 B
JavaScript
9 lines
145 B
JavaScript
module.exports = {
|
|
get admin() {
|
|
return require('./admin');
|
|
},
|
|
get content() {
|
|
return require('./content');
|
|
}
|
|
};
|