From 71723ca09f369ccf96462cef1e0200e1615677d1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 14 Dec 2014 15:24:10 -0400 Subject: support for crypted passwords in privdata * Added CryptPassword to PrivDataField, for password hashes as produced by crypt(3). * User.hasPassword and User.hasSomePassword will now use either a CryptPassword or a Password from privdata, depending on which is set. --- config-joey.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config-joey.hs') diff --git a/config-joey.hs b/config-joey.hs index 78954805..4630622d 100644 --- a/config-joey.hs +++ b/config-joey.hs @@ -78,6 +78,9 @@ darkstar = host "darkstar.kitenet.net" ! Docker.docked gitAnnexAndroidDev & website "foo" + & User.accountFor "tester" + & User.hasSomePassword "tester" + website :: String -> RevertableProperty website hn = Apache.siteEnabled hn apachecfg where -- cgit v1.2.3