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.
2 parents 9752016 + ad708f5 commit fe7d6d7Copy full SHA for fe7d6d7
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