Changeset 8777 for main


Ignore:
Timestamp:
23 Jun 2012, 05:21:43 (12 years ago)
Author:
Henrik Bettermann
Message:

Rename 'send password' to 'change password'. Users can only request a password change if they have a valid email address. Students do enter the address in the 'request password' form for first-time login (coming soon).

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/browser.txt

    r8759 r8777  
    7878  >>> root['myuniversity']['users'].addUser('forgetful', 'secret',title='Bob Forgetful',
    7979  ...                               description='A forgetful user', email='aa@aa.ng')
    80   >>> browser.open('http://localhost/myuniversity/sendpw')
     80  >>> browser.open('http://localhost/myuniversity/changepw')
    8181  >>> browser.getControl(name="form.identifier").value = 'forgetful'
    8282  >>> browser.getControl(name="form.email").value = 'aa@aa.ng'
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r8774 r8777  
    20672067    """
    20682068    grok.context(IUniversity)
    2069     grok.name('sendpw')
     2069    grok.name('changepw')
    20702070    grok.require('waeup.Anonymous')
    2071     grok.template('sendpassword')
     2071    grok.template('changepw')
    20722072    label = _('Send me a new password')
    20732073    form_fields = grok.AutoFields(IChangePassword)
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/loginpage.pt

    r8039 r8777  
    4343  </p>
    4444  <p i18n:translate="login_trouble3"> Or simply forgot your student id, application id or password? Then request a new password
    45     <strong><a href="sendpw"> here</a></strong>.
     45    <strong><a href="changepw"> here</a></strong>.
    4646  </p>
    4747</form>
Note: See TracChangeset for help on using the changeset viewer.