| Safe Haskell | None |
|---|
MFlow.Forms.Admin
- adminLoop :: IO ()
- addAdminWF :: IO ()
Documentation
A small console interpreter with some commands:
sync- Synchronize the cache with persistent storage (see
syncCache) flush- Flush the cache
end- Synchronize and exit
abort- Exit. Do not synchronize
on exception, for example Control-c, it sync and exits. It must be used as the last statement of the main procedure.
addAdminWF :: IO ()Source
Install the admin flow in the list of flows handled by HackMessageFlow
this gives access to an administrator page. It is necessary to
create an admin user with setAdminUser.
The administration page is reached with the path adminserv