Revert "Updated BaseController to return false if doorkeeper_token nil for superapp"
This reverts commit e5ea8fb487
.
This commit is contained in:
parent
fde3821450
commit
a2793f04d6
|
@ -103,7 +103,7 @@ class Api::BaseController < ApplicationController
|
|||
end
|
||||
|
||||
def superapp?
|
||||
return false if doorkeeper_token.nil?
|
||||
return true if doorkeeper_token.nil?
|
||||
doorkeeper_token && doorkeeper_token.application.superapp? || false
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue