Update app.py
Browse files
app.py
CHANGED
@@ -55,6 +55,10 @@ def login():
|
|
55 |
def register():
|
56 |
st.write("Register")
|
57 |
username = st.text_input("Email")
|
|
|
|
|
|
|
|
|
58 |
password = st.text_input("Password", type="password")
|
59 |
data = {
|
60 |
"Username": username,
|
|
|
55 |
def register():
|
56 |
st.write("Register")
|
57 |
username = st.text_input("Email")
|
58 |
+
if validate_email(username):
|
59 |
+
st.success("The email address is valid.")
|
60 |
+
else:
|
61 |
+
st.error("The email address is not valid.")
|
62 |
password = st.text_input("Password", type="password")
|
63 |
data = {
|
64 |
"Username": username,
|