Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
revans committed Feb 5, 2015
1 parent 51d952a commit ab31686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/auth/auth_generator.rb
Expand Up @@ -156,7 +156,7 @@ def json_requested?
end
def render_unauthorized
self.headers['WWW-Authenticate'] = "Token realm=\"#{api_config['company_name']}\""
self.headers['WWW-Authenticate'] = "Token realm=\"\#{api_config['company_name']}\""
render json: 'Bad credentials', status: 401
end
Expand Down

0 comments on commit ab31686

Please sign in to comment.