Modify backend to use new auth cookie format
[blerg.git] / config.h
index b363206..c907f35 100644 (file)
--- a/config.h
+++ b/config.h
@@ -1,6 +1,7 @@
 #ifndef _CONFIG_H
 #define _CONFIG_H
 
+#define BLERG_PATH "/var/lib/blerg"
 #define DATA_PATH "data"
 #define HASH_TAGS_PATH "hash_tags"
 #define REF_TAGS_PATH "ref_tags"
@@ -13,4 +14,6 @@
 #define MAX_TAG_LENGTH 64
 #define MAX_TAGS_PER_RECORD 1024
 
+#define AUTHENTICATION_TIMEOUT 3600  /* Time out the user's session after one hour */
+
 #endif //_CONFIG_H