Revision ecd6bc24 src/gr/ebs/gss/client/GSS.java

b/src/gr/ebs/gss/client/GSS.java
481 481
	 */
482 482
	protected void authenticateUser() {
483 483
		Configuration conf = (Configuration) GWT.create(Configuration.class);
484
		Window.Location.assign(conf.loginUrl() + "?next=" + GWT.getModuleBaseURL());
484
		Window.Location.assign(GWT.getModuleBaseURL() + conf.loginUrl() + "?next=" + GWT.getModuleBaseURL());
485 485
	}
486 486

  
487 487
	/**
......
493 493
		String domain = Window.Location.getHostName();
494 494
		String path = Window.Location.getPath();
495 495
		Cookies.setCookie(cookie, "", null, domain, path, false);
496
		Window.Location.assign(conf.logoutUrl());
496
        String baseUrl = GWT.getModuleBaseURL();
497
        String homeUrl = baseUrl.substring(0, baseUrl.indexOf(path));
498
		Window.Location.assign(homeUrl + conf.logoutUrl());
497 499
	}
498 500

  
499 501
	/**

Also available in: Unified diff