Browse files

Fixed the 'register here' link on the login form. Also changed refere…

…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...
1 parent d79943e commit 6ecdb35ca758ba5450e9b90005013d8219f038ec @pledbrook pledbrook committed Feb 3, 2011
@@ -43,10 +43,10 @@
<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>
- 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>
@@ -2,12 +2,12 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="layout" content="subpage">
- <title>Password Reminder</title>
+ <title>Reset Password</title>
<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">
@@ -23,4 +23,4 @@

0 comments on commit 6ecdb35

Please sign in to comment.