Update modules/ui.py
Browse files- modules/ui.py +1 -1
modules/ui.py
CHANGED
|
@@ -41,7 +41,7 @@ def register_page():
|
|
| 41 |
additional_info['carrera'] = st.text_input("Carrera")
|
| 42 |
|
| 43 |
if st.button("Registrarse"):
|
| 44 |
-
if register_user(new_username, new_password,
|
| 45 |
st.success("Registro exitoso. Por favor, inicia sesi贸n.")
|
| 46 |
else:
|
| 47 |
st.error("El usuario ya existe o ocurri贸 un error durante el registro")
|
|
|
|
| 41 |
additional_info['carrera'] = st.text_input("Carrera")
|
| 42 |
|
| 43 |
if st.button("Registrarse"):
|
| 44 |
+
if register_user(new_username, new_password, additional_info):
|
| 45 |
st.success("Registro exitoso. Por favor, inicia sesi贸n.")
|
| 46 |
else:
|
| 47 |
st.error("El usuario ya existe o ocurri贸 un error durante el registro")
|