0
0
Fork 0

Add "signed in as" header to some pages (#4523)

This commit is contained in:
Eugen Rochko 2017-08-05 04:24:58 +02:00 committed by GitHub
parent 029786442a
commit df605f0f8b
40 changed files with 105 additions and 57 deletions

View file

@ -34,6 +34,11 @@ Doorkeeper.configure do
# https://github.com/doorkeeper-gem/doorkeeper#custom-access-token-generator
# access_token_generator "::Doorkeeper::JWT"
# The controller Doorkeeper::ApplicationController inherits from.
# Defaults to ActionController::Base.
# https://github.com/doorkeeper-gem/doorkeeper#custom-base-controller
base_controller 'ApplicationController'
# Reuse access token for the same resource owner within an application (disabled by default)
# Rationale: https://github.com/doorkeeper-gem/doorkeeper/issues/383
reuse_access_token