Skip to content

Commit

Permalink
fix(skymp5-client): fix 'souls transmission' bug (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Jan 20, 2025
1 parent 52e81b1 commit 3a744e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skymp5-client/src/services/services/authService.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as crypto from "crypto";
import { AuthGameData, RemoteAuthGameData, authGameDataStorageKey } from "../../features/authModel";
import { FunctionInfo } from "../../lib/functionInfo";
import { ClientListener, CombinedController, Sp } from "./clientListener";
Expand Down Expand Up @@ -641,7 +642,7 @@ export class AuthService extends ClientListener {
return this.authNeededFired && this.browserWindowLoadedFired
}
};
private discordAuthState = "" + Math.random();
private discordAuthState = crypto.randomBytes(32).toString('hex');
private authDialogOpen = false;

private loggingStartMoment = 0;
Expand Down

0 comments on commit 3a744e3

Please sign in to comment.