Skip to content

Commit

Permalink
fix compileerror 2.10
Browse files Browse the repository at this point in the history
  • Loading branch information
gakuzzzz committed Jul 5, 2015
1 parent 12d039f commit 73af0a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ trait OAuth2Controller extends Controller with OAuthController { self: OptionalA
val form = Form(
tuple(
"code" -> nonEmptyText,
"state" -> nonEmptyText.verifying(request.session.get(OAuth2StateKey).contains _)
"state" -> nonEmptyText.verifying(s => request.session.get(OAuth2StateKey).exists(_ == s))
)
)

Expand Down

0 comments on commit 73af0a4

Please sign in to comment.