Skip to content

Commit

Permalink
refactor: fix typo in resume action (#1239)
Browse files Browse the repository at this point in the history
  • Loading branch information
big-kahuna-burger authored Dec 8, 2023
1 parent deef8bd commit a450345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/actions/authorization/resume.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import formPost from '../../response_modes/form_post.js';
import * as ssHandler from '../../helpers/samesite_handler.js';
import epochTime from '../../helpers/epoch_time.js';

export default async function resumeAction(allowLisst, resumeRouteName, ctx, next) {
export default async function resumeAction(allowList, resumeRouteName, ctx, next) {
const cookieOptions = instance(ctx.oidc.provider).configuration('cookies.short');

const cookieId = ssHandler.get(
Expand Down Expand Up @@ -72,7 +72,7 @@ export default async function resumeAction(allowLisst, resumeRouteName, ctx, nex

await interactionSession.destroy();

const params = new (Params(allowLisst))(storedParams);
const params = new (Params(allowList))(storedParams);
ctx.oidc.params = params;
ctx.oidc.trusted = trusted;
ctx.oidc.redirectUriCheckPerformed = true;
Expand Down

0 comments on commit a450345

Please sign in to comment.