summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-12-14 15:24:10 -0400
committerJoey Hess2014-12-14 15:24:10 -0400
commit71723ca09f369ccf96462cef1e0200e1615677d1 (patch)
tree9519e6a0e1f2a2353df4ef836118bbf3bf96eef4 /config-joey.hs
parent2e2438ae66490a2a00972be16e95f0d9cda2f9ea (diff)
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.
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs3
1 files changed, 3 insertions, 0 deletions
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