diff --git a/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java b/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java index 20104c2f..1a90dde6 100644 --- a/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java +++ b/wise-webapp/src/main/java/com/wisemapping/webmvc/UsersController.java @@ -78,7 +78,7 @@ public class UsersController { result = new ModelAndView("forgotPasswordError"); } catch (InvalidAuthSchemaException e) { - result = new ModelAndView("forgotPasswordError"); + result = new ModelAndView("userForgotPasswordOpenId"); } return result; } diff --git a/wise-webapp/src/main/resources/messages_en.properties b/wise-webapp/src/main/resources/messages_en.properties index ea58bc52..3a21e3c7 100644 --- a/wise-webapp/src/main/resources/messages_en.properties +++ b/wise-webapp/src/main/resources/messages_en.properties @@ -267,6 +267,8 @@ OPEN_OFFICE_EXPORT_FORMAT_DETAILS=Get your map as OpenOffice Write Document MINDJET_EXPORT_FORMAT=(BETA) MindJet 8.x MINDJET_EXPORT_FORMAT_DETAILS=Export your maps in MindJet 8.x format MINDMAP_IS_LOCKED=Mindmap is locked for edition. +OPENID_ACCOUNT_PASSWORD=Registered OpenID account password could not be changed +OPENID_ACCOUNT_PASSWORD_DETAIL=Your account has been registered using OpenId. Try to login using either your Google, AOL or Yahoo account. diff --git a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml index a12cb311..f2068475 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/defs/definitions.xml @@ -63,6 +63,11 @@ + + + + + diff --git a/wise-webapp/src/main/webapp/jsp/userForgotPasswordOpenId.jsp b/wise-webapp/src/main/webapp/jsp/userForgotPasswordOpenId.jsp new file mode 100755 index 00000000..8518b5f7 --- /dev/null +++ b/wise-webapp/src/main/webapp/jsp/userForgotPasswordOpenId.jsp @@ -0,0 +1,6 @@ +<%@page pageEncoding="UTF-8" %> +<%@include file="/jsp/init.jsp" %> + +

+ +