Ignore:
Timestamp:
29 Jun 2012, 17:28:06 (12 years ago)
Author:
Henrik Bettermann
Message:

StudentRequestPasswordPage?: Create mandate and send link by email instead of setting password directly.

Show link to StudentRequestPasswordPage? on login page.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/browser
Files:
2 edited

Legend:

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

    r8783 r8853  
    21292129        msg = _('You have successfully changed your password for the')
    21302130        login_url = self.url(grok.getSite(), 'login')
     2131        url_info = u'Login: %s' % login_url
    21312132        success = kofa_utils.sendCredentials(
    2132             IUserAccount(user),pwd,login_url,msg)
     2133            IUserAccount(user),pwd,url_info,msg)
    21332134        if success:
    21342135            self.flash(_('An email with your user name and password ' +
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/loginpage.pt

    r8777 r8853  
    3737    If you are having trouble logging in, make sure to enable  cookies in your web browser.
    3838  </p>
    39   <p i18n:translate="login_trouble2">
     39  <p i18n:translate="login_trouble2" tal:condition="python:False">
    4040    You don't have an account because you are a fresh student, or your student record has just been created?
    41     Acquire a Password Access Code (PWD) and inititialize your student account
    42     <strong><a href  ="setpassword"> here</a></strong>.
     41    Acquire a Password Activation Code (PWD) and inititialize your student account
     42    <strong><a href ="setpassword"> here</a></strong>.
     43  </p>
     44  <p i18n:translate="login_trouble4">
     45    You don't have an account because you are a fresh student, or your student record has just been created?
     46    Inititialize your student account <strong><a href="requestpw"> here</a></strong>.
    4347  </p>
    4448  <p i18n:translate="login_trouble3"> Or simply forgot your student id, application id or password? Then request a new password
Note: See TracChangeset for help on using the changeset viewer.