diff options
author | Mark Vainomaa <mikroskeem@gmail.com> | 2018-09-27 22:17:27 +0300 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2018-09-27 12:17:27 -0700 |
commit | 760e2007958569442e1bdd0093f0b5cc77ffaa38 (patch) | |
tree | e734b6984d500f094d215435ca906eeee2db648f /model | |
parent | cad806703d06d8996a98b19bec353bce255ae6a1 (diff) | |
download | chat-760e2007958569442e1bdd0093f0b5cc77ffaa38.tar.gz chat-760e2007958569442e1bdd0093f0b5cc77ffaa38.tar.bz2 chat-760e2007958569442e1bdd0093f0b5cc77ffaa38.zip |
Bump AuthorizeRequest State max length to 1024 (#9468)
Resolves MM-12000
Diffstat (limited to 'model')
-rw-r--r-- | model/authorize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/authorize.go b/model/authorize.go index 22325b181..922adc070 100644 --- a/model/authorize.go +++ b/model/authorize.go @@ -90,7 +90,7 @@ func (ar *AuthorizeRequest) IsValid() *AppError { return NewAppError("AuthData.IsValid", "model.authorize.is_valid.redirect_uri.app_error", nil, "client_id="+ar.ClientId, http.StatusBadRequest) } - if len(ar.State) > 128 { + if len(ar.State) > 1024 { return NewAppError("AuthData.IsValid", "model.authorize.is_valid.state.app_error", nil, "client_id="+ar.ClientId, http.StatusBadRequest) } |