# HG changeset patch # User Marcin Kuzminski # Date 2018-11-26 22:14:55 # Node ID 3c175ca22baf11347333db96f9c5b9fce04edd23 # Parent ef7f5bf1b4f9acf5ffc27747f7138c5f2a9b6edc authentication: register global shared session key used for external authentication session data storeage. - We'll have more plugins not only oauth so this should be a constant name, instead of repating the same name all over the code. diff --git a/rhodecode/authentication/base.py b/rhodecode/authentication/base.py --- a/rhodecode/authentication/base.py +++ b/rhodecode/authentication/base.py @@ -53,6 +53,8 @@ log = logging.getLogger(__name__) VCS_TYPE = 'vcs' HTTP_TYPE = 'http' +external_auth_session_key = 'rhodecode.external_auth' + class hybrid_property(object): """