W3D3/SteamAccountSwitcher2

"Remember my password" option from Steam login

disco0 opened this issue · 6 comments

Is there any way to implement Steam's login window's "Remember my password" option"? Right now users that reboot their PC or restart steam often have to put in the codes more despite not changing accs—personally I tend to restart before CSGO for that sweet placebo FPS boost which is why I thought of this question.

I've attached a picture of what I imagine the SAS option would be next to the Steam one, just in case you're not sure what I'm talking about.

steam password ui concept

Thanks for everything SAS so far btw

W3D3 commented

Interesting thought.
Should be no problem adding this feature to the experimental login function in v2.

Maybe the solution for this problem could be a option for SAS to just autostart and login a chosen account automatically for you?

So I saw a thread on /r/GlobalOffensive where people were switching accounts and doing exactly what I described with a batch file, basically if you change the AutoLoginUser value in Steam's registry key to a user that's previously logged in and entered a Steam Guard auth code it will let you log into that account without needing enter another one—effectively its a persistent "Remember my password" checkbox. Here's a gfycat of how it works, keep in mind I have 2 factor auth enabled on all three of these accounts:

https://gfycat.com/gifs/detail/CautiousNeglectedAlleycat

I forked the repository and made a branch implementing the feature in the settings window with a checkbox, here's a link to the compiled build in said branch if you're interested in adding the feature/want to see what I'm talking about (this is my first anything on github, not 100% if I'm doing it right but lmk lol)

https://github.com/disco0/SteamAccountSwitcher2/blob/registry-remember-me/SteamAccountSwitcher2.1.zip

paz commented

its a shame the project was effectively abandoned. i'll try @disco0's version for remember me, that's a really good feature. I compiled v2 and it was working well, just without remember me.

W3D3 commented

@disco0 This looks super neat, i'd love to include it in the next Release!
@xPazz I know, you're right, but i lost a lot of work in a HDD crash because i was too stupid to push my changes and didn't want to redo all of it but i probably at least finish implementing all the v2 features.

paz commented

ah having your drive fail sucks.. i had a sandisk ssd fail and lost ssh keys.. was a real pain. anyway, can't wait to see later releases of v2, you've made a great app here.

Totally forgot I made this, lol—I'm in the process of gitting out all my personal code, and after I saw you guys commenting I put my powershell implementation of this in a module, PoSh-Steam. I moved mostly to launching games via terminal/rainmeter (code for that is prob thing I add to the module) and I ended up going down the powershell route instead of the app.

@xPazz if you're comfortable with the console and my old build isn't working, a few commands will download and import for immediate use as well as future sessions:

# This should be ~\Documents\WindowsPowerShell\Modules
cd $env:PSModulePath.split(';')[0]
git clone https://github.com/disco0/PoSh-Steam
Import-Module PoSh-Steam
# Adds this to your powershell profile for later sessions
if ($?) { Write-Output 'Import-Module Posh-Steam' >> $PROFILE }

@W3D3 I can reduce the fork down to just the additional login code, iirc there's some other tweaks to appearance and some additional packages I downloaded—only registry key stuff or not, I'll be cleaning it up a bit