diff --git a/src/org/geometerplus/android/fbreader/network/UserRegistrationConstants.java b/src/org/geometerplus/android/fbreader/network/UserRegistrationConstants.java index 5014f2e26..cb81f0481 100644 --- a/src/org/geometerplus/android/fbreader/network/UserRegistrationConstants.java +++ b/src/org/geometerplus/android/fbreader/network/UserRegistrationConstants.java @@ -21,7 +21,9 @@ package org.geometerplus.android.fbreader.network; public interface UserRegistrationConstants { String CATALOG_URL = "catalogUrl"; + String SIGNIN_URL = "signinUrl"; String SIGNUP_URL = "signupUrl"; + String RECOVER_PASSWORD_URL = "recoverPasswordUrl"; String USER_REGISTRATION_USERNAME = "userName"; String USER_REGISTRATION_PASSWORD = "password"; diff --git a/src/org/geometerplus/android/fbreader/network/Util.java b/src/org/geometerplus/android/fbreader/network/Util.java index 8d5e89f5b..17adf11b4 100644 --- a/src/org/geometerplus/android/fbreader/network/Util.java +++ b/src/org/geometerplus/android/fbreader/network/Util.java @@ -66,7 +66,9 @@ public abstract class Util implements UserRegistrationConstants { static Intent authorizationIntent(INetworkLink link, Uri id) { final Intent intent = new Intent(AUTHORIZATION_ACTION, id); intent.putExtra(CATALOG_URL, link.getUrl(UrlInfo.Type.Catalog)); + intent.putExtra(SIGNIN_URL, link.getUrl(UrlInfo.Type.SignIn)); intent.putExtra(SIGNUP_URL, link.getUrl(UrlInfo.Type.SignUp)); + intent.putExtra(RECOVER_PASSWORD_URL, link.getUrl(UrlInfo.Type.RecoverPassword)); return intent; }