We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87846e6 commit ad708f5Copy full SHA for ad708f5
app/controllers/api/v1/users_controller.rb
@@ -21,6 +21,8 @@ def valid_api_token
21
# TODO :add some functionality to check if the HTTP Header is valid
22
if !identify_user(token)
23
redirect_to root_url
24
+ else
25
+ true
26
end
27
28
0 commit comments