Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
handleUpdateUser :: ScottyT AppM () Source #
updateUser :: (PasswordGen m, AuthTokenGen m, AcquireUser m, ReadUsers m, UpdateUser m) => AuthedUser -> UpdateUserAction -> m (Either AccountError UserAuth) Source #
mkToUpdate :: UpdateUserAction -> Maybe HashedPassword -> ToUpdate Source #
class Monad m => UpdateUser m where Source #
updateUserByID :: UserID -> ToUpdate -> m (Either AccountError ()) Source #
Instances
(Monad m, MonadUnliftIO m, MonadDB m) => UpdateUser m Source # | |
Defined in Conduit.Features.Account.User.UpdateUser updateUserByID :: UserID -> ToUpdate -> m (Either AccountError ()) Source # |