Fix change locale.
This commit is contained in:
@@ -261,3 +261,4 @@ LAST_UPDATE=Ultima Actualización
|
||||
LAST_UPDATE_BY=Ultima Actualización Por
|
||||
SIZE=Tamaño
|
||||
NO_PRODUCTION_DATABASE_CONFIGURED=COMPLETE
|
||||
CHANGE_LANGUAGE=Cambiar Idioma
|
||||
|
@@ -70,9 +70,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="localeResolver"
|
||||
class="org.springframework.web.servlet.i18n.SessionLocaleResolver">
|
||||
<property name="defaultLocale" value="en"/>
|
||||
</bean>
|
||||
class="org.springframework.web.servlet.i18n.SessionLocaleResolver"/>
|
||||
|
||||
<bean id="reCaptcha" class="net.tanesha.recaptcha.ReCaptchaImpl">
|
||||
<property name="privateKey" value="${registration.recaptcha.privateKey}"/>
|
||||
|
@@ -1,6 +1,8 @@
|
||||
<!DOCTYPE HTML>
|
||||
|
||||
<%@ page import="org.apache.log4j.Logger" %>
|
||||
<%@ page import="com.wisemapping.security.Utils" %>
|
||||
<%@ page import="com.wisemapping.model.User" %>
|
||||
<%@ page autoFlush="true" buffer="none" %>
|
||||
<%@ include file="/jsp/init.jsp" %>
|
||||
|
||||
@@ -20,6 +22,7 @@
|
||||
if (exception != null) {
|
||||
exception.printStackTrace(response.getWriter());
|
||||
String usrMail = "anonymous";
|
||||
final User user = Utils.getUser(false);
|
||||
if(user!=null)
|
||||
{
|
||||
usrMail = user.getEmail();
|
||||
|
Reference in New Issue
Block a user