diff --git a/src/main/java/xtremweb/dispatcher/HTTPHandler.java b/src/main/java/xtremweb/dispatcher/HTTPHandler.java index 00245093..17ac5994 100644 --- a/src/main/java/xtremweb/dispatcher/HTTPHandler.java +++ b/src/main/java/xtremweb/dispatcher/HTTPHandler.java @@ -1310,6 +1310,8 @@ private UserInterface userFromOpenId(final HttpServletRequest request) throws IO HTTPOpenIdHandler.getInstance().verifyNonce(authNonce); ret = DBInterface.getInstance().user(UserInterface.Columns.EMAIL.toString() + "= '" + authEmail + "'"); if (ret == null) { + ret = newUser(authId, authEmail); + /* if (Dispatcher.getConfig().getBoolean(XWPropertyDefs.DELEGATEDREGISTRATION) == false) { throw new IOException("delegated registration is not allowed"); } @@ -1332,6 +1334,7 @@ private UserInterface userFromOpenId(final HttpServletRequest request) throws IO client.setEMail(authEmail); DBInterface.getInstance().addUser(admin, client); ret = client; + */ } session.setAttribute(XWPostParams.AUTH_NONCE.toString(), authNonce); session.setAttribute(XWPostParams.AUTH_EMAIL.toString(), authEmail);