Merge pull request #831 from niphlod/fix/827
fix docs at the top to honor correctly expiration when used in models
This commit is contained in:
@@ -24,7 +24,7 @@ Typical usage:
|
|||||||
# Delete session in a module (move to the modules folder)
|
# Delete session in a module (move to the modules folder)
|
||||||
from sessions2trash import single_loop
|
from sessions2trash import single_loop
|
||||||
def delete_sessions():
|
def delete_sessions():
|
||||||
single_loop()
|
single_loop(auth.settings.expiration)
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user