June 11, 20187 yr Hello, I have a use case in which I need the account to log off and STAY logged off for a few minutes, then log back in. Is it possible somehow to disable the auto login, and then re-enable it whenever I need to? Thanks, Blurp
June 11, 20187 yr You can use a custom login handler. I think @Explv has one in the snippet section. You could also override the break handler, making it break at the time it should be logged out iirc.
June 11, 20187 yr Author 3 minutes ago, Canidae said: You can use a custom login handler. I think @Explv has one in the snippet section. You could also override the break handler, making it break at the time it should be logged out iirc. I don't quite like custom handlers because they probably don't cover all error cases and requires passing of account data via arguments. I'll look into the break handler suggestion, thanks. Still looking for more suggestions!
June 11, 20187 yr 3 minutes ago, Blurper said: I don't quite like custom handlers because they probably don't cover all error cases and requires passing of account data via arguments. I'll look into the break handler suggestion, thanks. Still looking for more suggestions! You can add all error message checks yourself, there's a list which contains all of them with the according number. It's probably the easiest way to do so.
June 12, 20187 yr @Blurper let us know what solution you come up with and update the thread. I'm sure a lot of other people have the same question. But I'm pretty sure you have to use -no randoms. Edited June 12, 20187 yr by Antonio Kala
June 12, 20187 yr You can override break manager since 2.4.131, you do not need to clear all randoms: https://osbot.org/forum/topic/125655-stable-build-osbot-24131-patches-break-override/ Alternatively you could clear randoms through CLI.
Create an account or sign in to comment