Show More
@@ -53,7 +53,7 b' class AdminSessionSettingsView(AdminSett' | |||
|
53 | 53 | c.navlist = navigation_list(self.request) |
|
54 | 54 | |
|
55 | 55 | c.cleanup_older_days = 60 |
|
56 |
older_than_seconds = |
|
|
56 | older_than_seconds = 60 * 60 * 24 * c.cleanup_older_days | |
|
57 | 57 | |
|
58 | 58 | config = system_info.rhodecode_config().get_value()['value']['config'] |
|
59 | 59 | c.session_model = user_sessions.get_session_handler( |
@@ -78,7 +78,7 b' class AdminSessionSettingsView(AdminSett' | |||
|
78 | 78 | if expire_days is None: |
|
79 | 79 | expire_days = 60 |
|
80 | 80 | |
|
81 |
older_than_seconds = |
|
|
81 | older_than_seconds = 60 * 60 * 24 * expire_days | |
|
82 | 82 | |
|
83 | 83 | config = system_info.rhodecode_config().get_value()['value']['config'] |
|
84 | 84 | session_model = user_sessions.get_session_handler( |
General Comments 0
You need to be logged in to leave comments.
Login now