Show More
@@ -42,7 +42,7 b' from rhodecode.lib.auth import AuthUser,' | |||||
42 | from rhodecode.lib.exceptions import UserCreationError |
|
42 | from rhodecode.lib.exceptions import UserCreationError | |
43 | from rhodecode.lib.utils import (password_changed, get_enabled_hook_classes) |
|
43 | from rhodecode.lib.utils import (password_changed, get_enabled_hook_classes) | |
44 | from rhodecode.lib.utils2 import ( |
|
44 | from rhodecode.lib.utils2 import ( | |
45 |
str2bool, safe_unicode, AttributeDict, safe_int, |
|
45 | str2bool, safe_unicode, AttributeDict, safe_int, sha1, aslist, safe_str) | |
46 | from rhodecode.model.db import Repository, User, ChangesetComment |
|
46 | from rhodecode.model.db import Repository, User, ChangesetComment | |
47 | from rhodecode.model.notification import NotificationModel |
|
47 | from rhodecode.model.notification import NotificationModel | |
48 | from rhodecode.model.settings import VcsSettingsModel, SettingsModel |
|
48 | from rhodecode.model.settings import VcsSettingsModel, SettingsModel | |
@@ -256,7 +256,7 b' class BasicAuth(AuthBasicAuthenticator):' | |||||
256 |
|
256 | |||
257 |
|
257 | |||
258 | def calculate_version_hash(config): |
|
258 | def calculate_version_hash(config): | |
259 |
return |
|
259 | return sha1( | |
260 | config.get('beaker.session.secret', '') + |
|
260 | config.get('beaker.session.secret', '') + | |
261 | rhodecode.__version__)[:8] |
|
261 | rhodecode.__version__)[:8] | |
262 |
|
262 |
General Comments 0
You need to be logged in to leave comments.
Login now