Remove dead code
This commit is contained in:
parent
4a3e598f8a
commit
e6086ee34f
@ -20,9 +20,6 @@ import Data.Generics.Product
|
|||||||
import Servant.Auth as SA
|
import Servant.Auth as SA
|
||||||
import Servant.Auth.Server as SAS
|
import Servant.Auth.Server as SAS
|
||||||
|
|
||||||
data LoginForm = LoginForm { username :: Text
|
|
||||||
, password :: Text }
|
|
||||||
deriving (Generic, Show)
|
|
||||||
|
|
||||||
data RegisterForm = RegisterForm { username :: Username
|
data RegisterForm = RegisterForm { username :: Username
|
||||||
, email :: Email
|
, email :: Email
|
||||||
@ -34,12 +31,8 @@ data LoginStatus = LoginStatus ( Maybe SafeUser ) deriving Generic
|
|||||||
|
|
||||||
data RegisterStatus = RegisterStatus deriving Generic
|
data RegisterStatus = RegisterStatus deriving Generic
|
||||||
|
|
||||||
instance FromJSON LoginForm
|
|
||||||
instance ToJSON LoginForm
|
|
||||||
instance ToJSON LoginStatus
|
instance ToJSON LoginStatus
|
||||||
instance FromJSON LoginStatus
|
instance FromJSON LoginStatus
|
||||||
instance FromForm LoginForm
|
|
||||||
instance ToForm LoginForm
|
|
||||||
|
|
||||||
instance FromJSON RegisterForm
|
instance FromJSON RegisterForm
|
||||||
instance ToJSON RegisterForm
|
instance ToJSON RegisterForm
|
||||||
|
Loading…
Reference in New Issue
Block a user