diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2017-07-26 21:09:57 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2017-07-26 21:09:57 +0300 |
commit | bb31be8f6072e4dd72c8630c019f7ab5e0bc9fa9 (patch) | |
tree | d7b4194f8b6b5e7af76cf59b4130a08153ae44da /src/Sproxy/Config.hs | |
parent | 1123c543bdd438ad40428e7814325a53c819cee2 (diff) | |
download | sproxy2-state.tar.gz |
[WIP] State in OAuth2 callback should be short-livedstate
Diffstat (limited to 'src/Sproxy/Config.hs')
-rw-r--r-- | src/Sproxy/Config.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Sproxy/Config.hs b/src/Sproxy/Config.hs index e0f35a3..b011680 100644 --- a/src/Sproxy/Config.hs +++ b/src/Sproxy/Config.hs @@ -8,7 +8,6 @@ module Sproxy.Config ( import Control.Applicative (empty) import Data.Aeson (FromJSON, parseJSON) import Data.HashMap.Strict (HashMap) -import Data.Int (Int64) import Data.Text (Text) import Data.Word (Word16) import Data.Yaml (Value(Object), (.:), (.:?), (.!=)) @@ -64,7 +63,7 @@ data BackendConf = BackendConf { , beSocket :: Maybe FilePath , beCookieName :: String , beCookieDomain :: Maybe String -, beCookieMaxAge :: Int64 +, beCookieMaxAge :: Int , beConnCount :: Int } deriving (Show) |