Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class DeviseOverrides::TokenValidationsController < DeviseTokenAuth::TokenValidationsController
|
||||
def validate_token
|
||||
# @resource will have been set by set_user_by_token concern
|
||||
if @resource
|
||||
render 'devise/token', formats: [:json]
|
||||
else
|
||||
render_validate_token_error
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user