No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 456B

1234567891011121314151617
  1. from lodel.context import LodelContext
  2. LodelContext.expose_modules(globals(), {
  3. 'lodel.validator.validator': ['Validator']})
  4. __plugin_name__ = 'ram_sessions'
  5. __version__ = [0,0,1]
  6. __plugin_type__ = 'session_handler'
  7. __loader__ = 'main.py'
  8. __author__ = "Lodel2 dev team"
  9. __fullname__ = "RAM Session Store Plugin"
  10. CONFSPEC = {
  11. 'lodel2.sessions':{
  12. 'expiration': (900, Validator('int')),
  13. 'tokensize': (512, Validator('int')),
  14. }
  15. }