summaryrefslogtreecommitdiff
path: root/Biz/Auth.hs
blob: 3648395bd57e7a1e65e46da09a68ed0bfcd5891a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module Biz.Auth
  ( Error (..),
    Password,
    Username,
  )
where

import Data.ByteString (ByteString)
import Data.Text (Text)
import Miso.String

data Error
  = BadUsername
  | BadPassword

type Password = MisoString

type Username = MisoString