You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@warble.apache.org by hu...@apache.org on 2018/06/25 03:12:10 UTC

[incubator-warble-server] 02/07: separate sessions and accounts

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-warble-server.git

commit 76b75a6ad61c93a6154421347409f47570335231
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Jun 24 21:07:59 2018 -0500

    separate sessions and accounts
---
 setup/dbs.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/setup/dbs.yaml b/setup/dbs.yaml
index 7d0dd64..539d269 100644
--- a/setup/dbs.yaml
+++ b/setup/dbs.yaml
@@ -3,10 +3,18 @@ accounts:
   driver:   sqlite
   path:     accounts.db
   layout:
-    cookie:     text              # Web cookie
     userid:     text primary key  # user ID
     password:   text              # password digest
     superuser:  boolean           # admin or not?
+    
+# UI sessions
+sessions:
+  driver:   sqlite
+  path:     sessions.db
+  layout:
+    cookie:     text      # HTTP cookie
+    userid:     text      # corresponding user account
+    timestamp:  integer   # cookie use timestamp (for timing out sessions)
 
 # Node registry database setup
 registry:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@warble.apache.org
For additional commands, e-mail: commits-help@warble.apache.org