Page d'erreur pour le login -> renvoi vers la page de login/création de compte complet (loginFull.jsp)
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
File doesn't exist.
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -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>
|
||||
18
YACOSWeb/WebContent/WEB-INF/jsp/loginFull.jsp
Normal file
18
YACOSWeb/WebContent/WEB-INF/jsp/loginFull.jsp
Normal 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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user