Skip to content

Commit

Permalink
Update auth.py
Browse files Browse the repository at this point in the history
issue fixes: pyeve#1267
  • Loading branch information
wangsha committed May 16, 2019
1 parent 7deb977 commit 4ca4d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eve/auth.py
Expand Up @@ -149,7 +149,7 @@ def authenticate(self):
abort(
401,
"Please provide proper credentials",
("WWW-Authenticate", 'Basic realm="%s"' % __package__),
www_authenticate = ("WWW-Authenticate", 'Basic realm="%s"' % __package__),
)

def authorized(self, allowed_roles, resource, method):
Expand Down

0 comments on commit 4ca4d95

Please sign in to comment.