Ignore:
Timestamp:
3 Sep 2011, 02:15:14 (13 years ago)
Author:
uli
Message:

Set auth plugin names as tuple instead of list to keep their order.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/authentication.py

    r6478 r6661  
    276276        # The local credentials plugin is registered under the name
    277277        # 'applicant_credentials' (see above).
    278         pau.credentialsPlugins.append('applicant_credentials')
     278        plugins = list(pau.credentialsPlugins) + ['applicant_credentials']
     279        pau.credentialsPlugins = tuple(plugins)
    279280        # The local authenticator plugin is registered under the name
    280281        # 'applicants' (subject to change?)
    281         pau.authenticatorPlugins.append('applicants')
     282        plugins = list(pau.authenticatorPlugins) + ['applicants']
     283        pau.authenticatorPlugins = tuple(plugins)
     284        #pau.authenticatorPlugins.append('applicants')
    282285        return pau
    283286
Note: See TracChangeset for help on using the changeset viewer.