Fixed redirect for login url
authorChristos Stathis <chstath@ebs.gr>
Wed, 14 Sep 2011 13:01:45 +0000 (16:01 +0300)
committerChristos Stathis <chstath@ebs.gr>
Wed, 14 Sep 2011 13:01:45 +0000 (16:01 +0300)
src/gr/grnet/pithos/web/client/Pithos.java

index a58e95c..3af5bfc 100644 (file)
@@ -512,7 +512,7 @@ public class Pithos implements EntryPoint, ResizeHandler {
         */
        protected void authenticateUser() {
                Configuration conf = (Configuration) GWT.create(Configuration.class);
-        Window.Location.assign(Window.Location.getHost() + conf.loginUrl() + "?next=" + Window.Location.getHref());
+        Window.Location.assign(conf.loginUrl() + "?next=" + Window.Location.getHref());
        }
 
        protected void fetchAccount() {