Page d'erreur pour le login -> renvoi vers la page de login/création de compte complet (loginFull.jsp)

This commit is contained in:
Nicolas Michard
2008-02-04 14:05:45 +00:00
parent e9930c6791
commit af13dfaded
10 changed files with 56 additions and 7 deletions

View File

@@ -7,4 +7,4 @@
File doesn't exist.
</body>
</html>
</html>

View File

@@ -1,16 +0,0 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<form action="<c:url value='j_acegi_security_check'/>" method="POST" id="formlogin">
<a href="#" id="connexion">Connexion :</a>
<input type='text' name='j_username' value="<fmt:message key='login.field.login' />" onfocus="if (this.value == '<fmt:message key='login.field.login' />') { this.value = ''; }" onblur="if (this.value == '') { this.value = '<fmt:message key='login.field.login' />'; }" />
<input type='password' name='j_password' />
<a href="javascript:document.getElementById('formlogin').submit();" id="submit_btn"><fmt:message key="login.btn.submit" /></a>
</form>
</body>
</html>

View File

@@ -0,0 +1,18 @@
<%@ include file="/WEB-INF/decorators/include.jsp"%>
<html>
<head></head>
<body>
<c:if test="${not empty param.login_error}">
<div class="login_error">
Your login attempt was not successful, try again.<br /><br />
</div>
</c:if>
<br /> FORMULAIRE DE CONNEXION
<br /> NOUVEL UTILISATEUR
</body>
</html>

View File

@@ -14,7 +14,7 @@ Utilisateur avec tous les r
<b>Lancer le Filler.java dans YACOS Test pour avoir l'utilisateur admin puis choisir la conference id=68 (ou la premiere de la liste normalement)...</b><br />
LOGIN=<b>admin</b> PASS=<b>admin</b>
LOGIN=<b>admin</b> PASS=<b>admin</b><br/>
</body>
</html>