Skip to content

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Dec 11, 2023
1 parent c806e07 commit f8adcee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Edi.Captcha.SampleApp/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public IActionResult Index(HomeModel model)
}

[Route("captcha-image-action")]
public IActionResult CaptchaImage()
public IActionResult CaptchaImage(int width, int height)
{
var s = captcha.GenerateCaptchaImageFileStream(HttpContext.Session);
var s = captcha.GenerateCaptchaImageFileStream(HttpContext.Session, width, height);
return s;
}

Expand Down

0 comments on commit f8adcee

Please sign in to comment.