diff options
author | Joris | 2016-03-11 23:21:06 +0100 |
---|---|---|
committer | Joris | 2016-03-11 23:21:06 +0100 |
commit | 9d57e149fcb124a28813c56f83cf254eb92baa42 (patch) | |
tree | b796c4fdc738006c07e65e01f4845adafe064d2a /src/server/Config.hs | |
parent | 709d1cf587e92508ef73bca8e847cfa510c03069 (diff) |
Don't use persona anymore, use email token to sign in
Diffstat (limited to 'src/server/Config.hs')
-rw-r--r-- | src/server/Config.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/Config.hs b/src/server/Config.hs index 37f57ec..bd7f325 100644 --- a/src/server/Config.hs +++ b/src/server/Config.hs @@ -18,6 +18,7 @@ import Control.Arrow (left) data Config = Config { hostname :: Text , port :: Int + , signInExpirationMn :: Int , currency :: Text } deriving (Read, Eq, Show) @@ -28,5 +29,6 @@ getConfig filePath = Config <$> (T.pack <$> get cp "DEFAULT" "hostname") <*> (get cp "DEFAULT" "port") <*> + (get cp "DEFAULT" "sign-in-expiration-mn") <*> (T.pack <$> get cp "DEFAULT" "currency") ) |