

package forms

import forms.validation.LoginValidation._
import models.UserLogin
import play.api.data.Form
import play.api.data.Forms._

object UserLoginForm {
  val loginForm = Form(
    mapping(
      "userName" -> userNameValidation,
      "password" -> passwordValidation
    )(UserLogin.apply)(UserLogin.unapply)
  )
}
