diff options
author | JoramWilander <jwawilander@gmail.com> | 2018-02-07 16:21:22 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2018-02-07 16:21:22 -0500 |
commit | 840892ab887680935df516f6942eb3563b7bf96b (patch) | |
tree | f8a9f4593b705fe18d84862017464cad23aa02cb /model/authorize_test.go | |
parent | 654fc2f7494889f00c236ec3eac8d37a887b1804 (diff) | |
download | chat-840892ab887680935df516f6942eb3563b7bf96b.tar.gz chat-840892ab887680935df516f6942eb3563b7bf96b.tar.bz2 chat-840892ab887680935df516f6942eb3563b7bf96b.zip |
Increase OAuth2 state parameter limit
Diffstat (limited to 'model/authorize_test.go')
-rw-r--r-- | model/authorize_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/authorize_test.go b/model/authorize_test.go index 3f43a4fc3..81e059305 100644 --- a/model/authorize_test.go +++ b/model/authorize_test.go @@ -115,7 +115,7 @@ func TestAuthIsValid(t *testing.T) { t.Fatal(err) } - ad.Scope = NewRandomString(129) + ad.Scope = NewRandomString(1025) if err := ad.IsValid(); err == nil { t.Fatal("Should have failed invalid Scope") } |