File size: 597 Bytes
3a757df
 
 
 
 
 
 
 
 
 
 
24713d1
 
 
7aa0686
24713d1
5674bf3
24713d1
5674bf3
 
3a757df
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import streamlit as st
import sqlite3
import random
import datetime

# Custom imports
from pages.utils import *

st.markdown("## Join")

with st.form("join_form"):
    first_name = st.text_input("First Name")
    last_name = st.text_input("Last Name")
    user_name = st.text_input("User Name")
    password1 = st.text_input("Password", type="password")
    password2 = st.text_input("Confirm Password", type="password")
    
    submitted = st.form_submit_button("Submit")

if submitted and password1.strip() != password2.strip():
    st.warning("The passwords do not match.")