- Repaired a bad authentiation config
This commit is contained in:
1 parent
2378245dbf
commit
2a18e0cb9a
4 files changed
+7
-7
No files matched your search
@@ -30,7 +30,7 @@ return [
|
||||
return HttpFactory::createJsonResponse($errorData + [
|
||||
'api.error' => "Authorization failed",
|
||||
'api.datetime' => (new \DateTime)->format(\DateTime::ATOM),
|
||||
]);
|
||||
], 401);
|
||||
};
|
||||
},
|
||||
|
||||
@@ -40,7 +40,7 @@ return [
|
||||
'title' => "Authentication failed",
|
||||
'subtitle' => "",
|
||||
'message' => $message,
|
||||
]));
|
||||
]), 401);
|
||||
};
|
||||
},
|
||||
];
|
||||
Reference in new issue
Block a user