esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhir...@apache.org
Subject svn commit: r916610 - /incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/ProfileMgr.scala
Date Fri, 26 Feb 2010 08:01:57 GMT
Author: rhirsch
Date: Fri Feb 26 08:01:57 2010
New Revision: 916610

URL: http://svn.apache.org/viewvc?rev=916610&view=rev
Log:
Added some messages

Modified:
    incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/ProfileMgr.scala

Modified: incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/ProfileMgr.scala
URL: http://svn.apache.org/viewvc/incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/ProfileMgr.scala?rev=916610&r1=916609&r2=916610&view=diff
==============================================================================
--- incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/ProfileMgr.scala (original)
+++ incubator/esme/trunk/server/src/main/scala/org/apache/esme/lib/ProfileMgr.scala Fri Feb
26 08:01:57 2010
@@ -78,6 +78,7 @@
         (openid, exp) match {
           case (Full(id), _) =>
             UserAuth.create.authType(OpenIDAuthModule.moduleName).user(user).authKey(id.getIdentifier()).save
+            S.notice(S.?("base_user_edit_openid_save"));
         
           case (_, Full(exp)) =>
             S.error(S.?("base_error_exception", exp.getMessage))
@@ -98,7 +99,7 @@
               case Empty =>
                 ESMEOpenIDVendor.loginAndRedirect(url, saveOpenID)
               // TODO: localize
-              case _ => S.error("This OpenID URL is registered with another user!")
+              case _ => S.error(S.?("base_user_edit_openid_duplicate"))
             }
           } else {
             for (auth <- openID) auth.delete_!



Mime
View raw message