Revert "Updated BaseController to return false if doorkeeper_token nil for superapp"
This reverts commit e5ea8fb48779013a2cb67ef5d3bfa1283ff99c5a.
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…
x
Reference in New Issue
Block a user