bugy / script-server

Web UI for your scripts with execution management
Other
1.59k stars 247 forks source link

Disable Redirect to Last Script Ran when Login #629

Open leacho73 opened 1 year ago

leacho73 commented 1 year ago

Hi

Is it possible to disable the redirect to the last script that was ran when logging into the script server?

I have a requirements for a user to log in - run a script, and then log out again - and when they log back in, that script is no longer available as its an initial setup script, but currently when the user logs back in, they get an error because the script is no longer available to them.

Just wondering if its possible to disable this re-direct/cache option in config?

Thanks Leacho

bugy commented 1 year ago

Hi @leacho73 unfortunately this option is not possible, this is quite unusual use case, so I didn't consider it.