Skip to content

Commit

Permalink
Fixed the 'register here' link on the login form. Also changed refere…
Browse files Browse the repository at this point in the history
…nces to 'password reminder' so that they imply a password reset rather than a reminder (we don't store the plain text passwords).
  • Loading branch information
pledbrook committed Feb 3, 2011
1 parent d79943e commit 6ecdb35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions grails.org/grails-app/views/user/_loginForm.gsp
Expand Up @@ -43,10 +43,10 @@
<div>

<g:set var="registerLink">
<g:if test="${true == async}"><a href="#" onclick="new Ajax.Updater('${updateElement}','${createLink(controller:'user', action:'register')}',{method:'GET',asynchronous:true,evalScripts:true,parameters:Form.serialize('login')});return false;">click here</a></g:if>
<g:if test="${true == async}"><g:remoteLink update="${updateElement}" controller="user" action="register" params="[originalURI: originalURI]" method="GET">click here</g:remoteLink></g:if>
<g:else><g:link controller="user" action="register">click here</g:link></g:else>
</g:set>
If you do not have an account ${registerLink} to register. If you have forgotten your password visit the <g:link controller="user" action="passwordReminder">password</g:link> reminder page.
If you do not have an account ${registerLink} to register. Or have you <g:link controller="user" action="passwordReminder">forgotten your password?</g:link>
</div>
</div>

6 changes: 3 additions & 3 deletions grails.org/grails-app/views/user/passwordReminder.gsp
Expand Up @@ -2,12 +2,12 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="layout" content="subpage">
<title>Password Reminder</title>
<title>Reset Password</title>

</head>

<body id="passwordreminder">
<p>Enter the username you registered with and your password will be emailed to you:</p>
<p>Enter the username you registered with. A new password will be generated and emailed to you.</p>
<g:if test="${flash.message}">
<div class="error">
${flash.message}
Expand All @@ -23,4 +23,4 @@

</g:form>
</body>
</html>
</html>

0 comments on commit 6ecdb35

Please sign in to comment.