ghost/admin/mirage/config/authentication.js
Function mockAuthentication
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function mockAuthentication(server) {
server.post('/session', function () {
// Password sign-in
return new Response(201);
});