Skip to content

Commit

Permalink
Update remoteuser.py
Browse files Browse the repository at this point in the history
removed empty lines
  • Loading branch information
golharam committed Oct 3, 2015
1 parent 63e30da commit 100ed41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/web/framework/middleware/remoteuser.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def __call__( self, environ, start_response ):
access Galaxy.
"""
return self.error( start_response, title, message )

if not environ.get(self.remote_user_header, '(null)').startswith('(null)'):
if not environ[ self.remote_user_header ].count( '@' ):
if self.maildomain is not None:
Expand Down

0 comments on commit 100ed41

Please sign in to comment.