Commit a2793f04 authored by Fosco Marotto's avatar Fosco Marotto

Revert "Updated BaseController to return false if doorkeeper_token nil for superapp"

This reverts commit e5ea8fb4.
parent fde38214
......@@ -103,7 +103,7 @@ class Api::BaseController < ApplicationController
def superapp?
return false if doorkeeper_token.nil?
return true if doorkeeper_token.nil?
doorkeeper_token && doorkeeper_token.application.superapp? || false
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment