tweak headers so they can be consumed

This commit is contained in:
Sam
2016-08-18 14:38:33 +10:00
parent 206d056798
commit 3ea68f8f6c
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ class Auth::DefaultCurrentUserProvider
CURRENT_USER_KEY ||= "_DISCOURSE_CURRENT_USER".freeze
API_KEY ||= "api_key".freeze
USER_API_KEY ||= "USER_API_KEY".freeze
USER_API_KEY ||= "HTTP_USER_API_KEY".freeze
API_KEY_ENV ||= "_DISCOURSE_API".freeze
TOKEN_COOKIE ||= "_t".freeze
PATH_INFO ||= "PATH_INFO".freeze