Fix permission in configSave in Practice controller

This commit is contained in:
Thomas Daniels 2019-02-06 12:37:32 +01:00 committed by GitHub
parent b82cb949f3
commit faba41759f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,7 +101,7 @@ object Practice extends LilaController {
} yield Ok(html.practice.config(struct, form))
}
def configSave = SecureBody(_.StreamConfig) { implicit ctx => me =>
def configSave = SecureBody(_.PracticeConfig) { implicit ctx => me =>
implicit val req = ctx.body
env.api.config.form.flatMap { form =>
FormFuResult(form) { err =>