Skip to content

the menu has not been hidden #18

@johnnyb1509

Description

@johnnyb1509

I'm creating auth page using the code below

import streamlit as st
from streamlit_login_auth_ui.widgets import __login__

__login__obj = __login__(auth_token = "courier_auth_token", 
                        company_name = "BSomename",
                        width = 200, height = 250, 
                        logout_button_name = 'Logout', 
                        hide_menu_bool = True, 
                        hide_footer_bool = False,
                        lottie_url = "https://assets6.lottiefiles.com/packages/lf20_5XEJb3YBIg.json")

LOGGED_IN = __login__obj.build_login_ui()

if LOGGED_IN == True:
    st.markdown("Your Streamlit Application Begins here!")

However, the menu on the side bar has not been hidden, it still shows all the page inside the folder /pages/.... AS the pic below:

Screenshot 2023-05-05 at 12 02 52 PM

The app is running on:

  • MacOS: M1 (Ventura)
  • Python 3.10
  • Streamlit 1.22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions