Skip to content

Instantly share code, notes, and snippets.

@softberries
Created May 24, 2018 08:10
Show Gist options
  • Save softberries/ff7215a2430c54a2c59e938389428a84 to your computer and use it in GitHub Desktop.
Save softberries/ff7215a2430c54a2c59e938389428a84 to your computer and use it in GitHub Desktop.
receiving submit form data on the controller side
def submit = silhouette.UnsecuredAction.async { implicit request: Request[AnyContent] =>
val fileDataOpt: Option[MultipartFormData[TemporaryFile]] = request.body.asMultipartFormData
val signInForm = SignInForm.form.bindFromRequest
val tempFolderPath = configuration.underlying.getString("facenetTempFolder")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment