ammarsys / riot-password-changer

CLI application that automatically changes passwords for Riot games account
MIT License
7 stars 0 forks source link

Feature request: allow custom passwords per account #2

Closed ammarsys closed 1 year ago

ammarsys commented 1 year ago

The possible implementation of the feature is described in Issue 1. To quote it,

If it can be changed to the password I specified, I think it might be better.it will be changed to a random password now.

... As for the feature idea, you're welcome to open a PR that implements it :) I think that the best way to go about this is to edit the format in accounts.txt to allow a second : which would indicate the desired user password. This would then be parsed in main.py and the Line 44 could be edited to look like: new_password = desired_password or gen_sec_pass() This would allow for desired_password to fall back to randomly generated password if the user did not provide it i.e. the variable is none.

ammarsys commented 1 year ago

@ammarsys implemented this in the latest update.