implemented default password policy

This commit is contained in:
Jonathan Lamothe committed 2018-12-12 17:38:10 -05:00
1 parent 3853a32259
commit 63105399b8
3 files changed
+50 -2

No files matched your search

+7 -1
View File
@@ -29,7 +29,9 @@ module Password (
PWPolicy (..),
-- ** Lenses
-- $lenses
pwLength, pwUpper, pwLower, pwDigits, pwSpecial
pwLength, pwUpper, pwLower, pwDigits, pwSpecial,
-- ** Default Instances
newPWPolicy
) where
import Control.Lens (makeLenses)
@@ -56,4 +58,8 @@ data PWPolicy = PWPolicy
makeLenses ''PWPolicy
-- | default password policy
newPWPolicy :: PWPolicy
newPWPolicy = PWPolicy 16 0 0 0 (Just 0)
--jl