summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/p4square/grow/frontend/GrowFrontend.java2
-rw-r--r--src/com/p4square/grow/frontend/LoginFormAuthenticator.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/com/p4square/grow/frontend/GrowFrontend.java b/src/com/p4square/grow/frontend/GrowFrontend.java
index a548435..ce29794 100644
--- a/src/com/p4square/grow/frontend/GrowFrontend.java
+++ b/src/com/p4square/grow/frontend/GrowFrontend.java
@@ -126,7 +126,7 @@ public class GrowFrontend extends FMFacade {
final Context context = getContext();
final String loginPage = getConfig().getString("dynamicRoot", "") + "/login.html";
final String loginPost = getConfig().getString("dynamicRoot", "") + "/account/authenticate";
- final String defaultPage = getConfig().getString("dynamicRoot", "") + "/index.html";
+ final String defaultPage = getConfig().getString("dynamicRoot", "") + "/account";
// This is used to check for an existing session
SessionCheckingAuthenticator sessionChk = new SessionCheckingAuthenticator(context, true);
diff --git a/src/com/p4square/grow/frontend/LoginFormAuthenticator.java b/src/com/p4square/grow/frontend/LoginFormAuthenticator.java
index d89ebc9..21c9097 100644
--- a/src/com/p4square/grow/frontend/LoginFormAuthenticator.java
+++ b/src/com/p4square/grow/frontend/LoginFormAuthenticator.java
@@ -45,7 +45,7 @@ public class LoginFormAuthenticator extends Authenticator {
public void setLoginPostUrl(String url) {
mLoginPostUrl = url;
}
-
+
public void setDefaultPage(String url) {
mDefaultRedirect = url;
}
@@ -73,7 +73,7 @@ public class LoginFormAuthenticator extends Authenticator {
if (isLoginAttempt) {
redirect = mDefaultRedirect;
} else {
- redirect = request.getResourceRef().getRelativePart();
+ redirect = request.getResourceRef().getPath();
}
}