Permalink
Browse files

fix protocol switch

  • Loading branch information...
1 parent 176245e commit f109e2ecf3620960dbf9b0bafc6e77669e72abae @anaderi anaderi committed Apr 6, 2017
Showing with 1 addition and 3 deletions.
  1. +1 −3 everware/user_wait_handler.py
@@ -47,9 +47,7 @@ def get(self, name, user_path):
else:
if is_up:
self.set_login_cookie(current_user)
- target = '%s://%s/user/%s' % (
- self.request.protocol,
- self.request.host,
+ target = '/user/%s' % (
current_user.name
)
self.log.info('redirecting to %s' % target)

0 comments on commit f109e2e

Please sign in to comment.