| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Polysemy.Account.Data.AccountsConfig
Description
Synopsis
- data AccountsConfig p = AccountsConfig {
- passwordLength :: Word
- initActive :: Bool
- defaultPrivileges :: p
- type AccountsConfigP = AccountsConfig [Privilege]
Documentation
data AccountsConfig p Source #
The configuration for the interpreter for Accounts.
The defaults, when using Privilege, are:
- Length 20
- Don't activate accounts right away
Webprivileges
Constructors
| AccountsConfig | |
Fields
| |
Instances
type AccountsConfigP = AccountsConfig [Privilege] Source #
Convenience alias for using the default privilege type with AccountsConfig.