Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django auth session loosing when close app #148

Open
alnuaimi94 opened this issue May 3, 2024 · 1 comment
Open

Django auth session loosing when close app #148

alnuaimi94 opened this issue May 3, 2024 · 1 comment

Comments

@alnuaimi94
Copy link

Hi,
I'm using Flaskwebgui with Django project.

when I closed the app and open it again i lost my authentication session and i have to login again.

@ClimenteA
Copy link
Owner

Checkout how browser_command is built and tweak it. By default browsers starts "fresh" each time.

For you probably this will do:

etc

deskui = FlaskUI(etc)

deskui.profile_dir = os.path.join(tempfile.gettempdir(), "flaskwebgui-custom-app-data") # here it can be any other folder

deskui.run()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants