Skip to content

Commit

Permalink
Fix 11 not working without supplying token
Browse files Browse the repository at this point in the history
  • Loading branch information
ComputerElite committed Mar 25, 2024
1 parent e6e1dc7 commit 8c12ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .idea/.idea.RIFT Downgrader/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Oculus Downgrader/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1694,7 +1694,7 @@ public bool UpdateAccessToken(bool onlyIfNeeded = false)
Logger.Log("Updating access_token");
if (auto)
{
if (!commands.HasArgument("--token"))
if (!commands.HasArgument("--token") && password == "")
{
Error("You must specify a token with --token or a password to decrypt a saved token with --password");
return false;
Expand Down

0 comments on commit 8c12ab0

Please sign in to comment.