This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 015b9762f56 Update login alert and remove unused params (#48543)
015b9762f56 is described below
commit 015b9762f567fe1fbf6fc95e5807dac7b0c0bdcf
Author: Aritra Basu <[email protected]>
AuthorDate: Mon Mar 31 09:16:56 2025 +0530
Update login alert and remove unused params (#48543)
---
.../airflow/api_fastapi/auth/managers/simple/ui/src/login/Login.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/src/login/Login.tsx
b/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/src/login/Login.tsx
index f116c2b87d7..f68a90e7552 100644
---
a/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/src/login/Login.tsx
+++
b/airflow-core/src/airflow/api_fastapi/auth/managers/simple/ui/src/login/Login.tsx
@@ -18,7 +18,7 @@
*/
import React, {useState} from "react";
-import {Alert, CloseButton, Container, Heading, Text} from "@chakra-ui/react";
+import {Alert, CloseButton, Container, Heading, Span, Text} from
"@chakra-ui/react";
import {useCreateToken} from "src/queries/useCreateToken";
import {LoginForm} from "src/login/LoginForm";
@@ -69,7 +69,7 @@ export const Login = () => {
<Alert.Description>
The Simple auth manager is intended for development and testing.
If you're using it in production,
ensure that access is controlled through other means.
- Please read <a
href="https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/auth-manager/simple/index.html"
target="_blank">the documentation</a> to learn more about simple auth manager.
+ Please read <Span textDecoration={"underline"}><a
href="https://airflow.apache.org/docs/apache-airflow/stable/core-concepts/auth-manager/simple/index.html"
target="_blank">the documentation</a></Span> to learn more about simple auth
manager.
</Alert.Description>
</Alert.Content>
<CloseButton
@@ -82,6 +82,7 @@ export const Login = () => {
}}
/>
</Alert.Root>
+
}
<Container mt={2} maxW="2xl" p="4" border="1px" borderColor="gray.500"
borderWidth="1px" borderStyle="solid">