Ignore:
Timestamp:
9 Jul 2021, 07:48:39 (3 years ago)
Author:
Henrik Bettermann
Message:

Prefill login form after applicant registration.

File:
1 edited

Legend:

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

    r16500 r16538  
    15611561        IUserAccount(applicant).setPassword(password)
    15621562        # Send email with credentials
    1563         login_url = self.url(grok.getSite(), 'login')
     1563        args = {'login':applicant.applicant_id, 'password':password}
     1564        login_url = self.url(grok.getSite(), 'login?%s' % urlencode(args))
    15641565        url_info = u'Login: %s' % login_url
    15651566        msg = _('You have successfully been registered for the')
Note: See TracChangeset for help on using the changeset viewer.