Connoisseurs, can you have any idea how to implement this?
The user starts the program, the authorization window opens. If the user entered the username and password, and also clicked "remember me", then the config is saved with the user parameters, but if another user wants to enter his data and does not click "remember me" - the program will still load the config with the previously saved data , even if the user is logged in under a different name.
My version was this: Suppose I started the program and saw the saved data in the authorization window, instead I entered my own and unchecked the “remember me” checkbox - at that moment the program should create a copy of the configuration file and save me there, then work with it file, but there is a lot of inconvenience.
Are there any options for how best to do this?