Read encrypted secret entries from the database and decode/unencrypt appropriately, add max duration/view count entries for the database and frontend interface, update README to remove graceful JS degradation goal, remove a few wordlist entries
This commit is contained in:
@ -15,7 +15,10 @@ main db = do
|
||||
"CREATE TABLE IF NOT EXISTS pws\
|
||||
\ (link TEXT PRIMARY KEY,\
|
||||
\ secret TEXT,\
|
||||
\ date DATETIME DEFAULT CURRENT_TIMESTAMP)"
|
||||
\ date DATETIME DEFAULT CURRENT_TIMESTAMP,\
|
||||
\ life INT,\
|
||||
\ views INT,\
|
||||
\ maxViews INT)"
|
||||
close conn
|
||||
|
||||
dbPath :: PurrAction String
|
||||
|
Reference in New Issue
Block a user