Compare commits
4 Commits
f5889fc72b
...
fdade90266
Author | SHA1 | Date | |
---|---|---|---|
fdade90266 | |||
baf62aa2a5 | |||
c19d46a50f | |||
f001c618cd |
@@ -56,7 +56,7 @@ impl FromRequest for AuthExtractor {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
// Check for authentication using OpenID
|
// Check for authentication using API token
|
||||||
if let Some(token) = req.headers().get(constants::API_TOKEN_HEADER) {
|
if let Some(token) = req.headers().get(constants::API_TOKEN_HEADER) {
|
||||||
let Ok(jwt_token) = token.to_str() else {
|
let Ok(jwt_token) = token.to_str() else {
|
||||||
return Err(actix_web::error::ErrorBadRequest(
|
return Err(actix_web::error::ErrorBadRequest(
|
||||||
|
1438
moneymgr_web/package-lock.json
generated
1438
moneymgr_web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -19,7 +19,7 @@
|
|||||||
"@mui/icons-material": "^7.1.2",
|
"@mui/icons-material": "^7.1.2",
|
||||||
"@mui/material": "^7.1.2",
|
"@mui/material": "^7.1.2",
|
||||||
"@mui/x-charts": "^8.8.0",
|
"@mui/x-charts": "^8.8.0",
|
||||||
"@mui/x-data-grid": "^8.7.0",
|
"@mui/x-data-grid": "^8.8.0",
|
||||||
"@mui/x-date-pickers": "^8.7.0",
|
"@mui/x-date-pickers": "^8.7.0",
|
||||||
"date-and-time": "^3.6.0",
|
"date-and-time": "^3.6.0",
|
||||||
"dayjs": "^1.11.13",
|
"dayjs": "^1.11.13",
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
"@types/react-dom": "^19.1.6",
|
"@types/react-dom": "^19.1.6",
|
||||||
"@vitejs/plugin-react": "^4.6.0",
|
"@vitejs/plugin-react": "^4.6.0",
|
||||||
"eslint": "^9.26.0",
|
"eslint": "^9.26.0",
|
||||||
"eslint-plugin-react-dom": "^1.49.0",
|
"eslint-plugin-react-dom": "^1.52.3",
|
||||||
"eslint-plugin-react-hooks": "^5.2.0",
|
"eslint-plugin-react-hooks": "^5.2.0",
|
||||||
"eslint-plugin-react-refresh": "^00.4.20",
|
"eslint-plugin-react-refresh": "^00.4.20",
|
||||||
"eslint-plugin-react-x": "^1.52.3",
|
"eslint-plugin-react-x": "^1.52.3",
|
||||||
|
Reference in New Issue
Block a user