Skip to content

Commit

Permalink
fix(secret): custom
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed May 28, 2024
1 parent 9a04c3c commit 955f12f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default class ViewStateManager {
}

private _initKey() {
const repeat = Math.ceil(this._FORM_OPTIONS.secret.length / 32);
const repeat = Math.ceil(32 / this._FORM_OPTIONS.secret.length);
this._VALID_KEY = this._FORM_OPTIONS.secret.repeat(repeat).slice(0, 32);
}

Expand Down

0 comments on commit 955f12f

Please sign in to comment.