blob: 1b51a47ccb547e283a4aba35ed9e04a8e6c7b1af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Common.Model.Password
( Password(..)
) where
import Data.Aeson (FromJSON, ToJSON)
import Data.Text (Text)
import GHC.Generics (Generic)
newtype Password = Password Text deriving (Show, Generic)
instance FromJSON Password
instance ToJSON Password
|