diff --git a/ui/frontend/src/auth/LocalAccount.tsx b/ui/frontend/src/auth/LocalAccount.tsx index d7aeb9417..2d8cde6d3 100644 --- a/ui/frontend/src/auth/LocalAccount.tsx +++ b/ui/frontend/src/auth/LocalAccount.tsx @@ -6,7 +6,7 @@ export const LocalAccount = () => { const localAccount = useContext(UserContext)?.username; return (
-

Email: {localAccount}

+

Username: {localAccount}

( export const LocalLoginProvider = (props: { children: React.ReactNode }) => { const [localUsername, setLocalUsername] = useState(""); - const isValidEmail = localUsername.includes("@"); // Quick hack -- todo: use email-validator const [username, setUsername] = useLocalStorage( "hamilton-username", undefined @@ -31,9 +30,6 @@ export const LocalLoginProvider = (props: { children: React.ReactNode }) => { }; const handleSubmit = (event: React.FormEvent) => { - if (!isValidEmail) { - return; - } event.preventDefault(); setUsername(localUsername); // Store username }; @@ -45,9 +41,6 @@ export const LocalLoginProvider = (props: { children: React.ReactNode }) => {

Welcome to the Hamilton UI!

-

- Please enter an email address -

{ /> diff --git a/ui/sdk/src/hamilton_sdk/driver.py b/ui/sdk/src/hamilton_sdk/driver.py index 505a14ec4..0b58053e6 100644 --- a/ui/sdk/src/hamilton_sdk/driver.py +++ b/ui/sdk/src/hamilton_sdk/driver.py @@ -265,7 +265,7 @@ def __init__( :param modules: Modules to use, same as standard Hamilton driver. :param project_id: Identifier for the project to use to store this DAG under. :param api_key: API key to use for authentication. Remember not to save this in plaintext! - :param username: email address to use for authentication. + :param username: username for authentication. :param dag_name: name for this DAG. You will use this for top level curation of DAGs within a project. :param tags: Optional key value string pairs to help identify and curate this instance of