Show More
@@ -59,10 +59,9 b' class AuthnPluginViewBase(object):' | |||||
59 | # Compute default values for the form. Priority is: |
|
59 | # Compute default values for the form. Priority is: | |
60 | # 1. Passed to this method 2. DB value 3. Schema default |
|
60 | # 1. Passed to this method 2. DB value 3. Schema default | |
61 | for node in schema: |
|
61 | for node in schema: | |
62 |
|
|
62 | value = self.plugin.get_setting_by_name( | |
63 |
node.name, |
|
63 | node.name, node.default) | |
64 |
defaults.setdefault(node.name, |
|
64 | defaults.setdefault(node.name, value) | |
65 | defaults = schema.serialize(defaults) |
|
|||
66 |
|
65 | |||
67 | template_context = { |
|
66 | template_context = { | |
68 | 'defaults': defaults, |
|
67 | 'defaults': defaults, |
General Comments 0
You need to be logged in to leave comments.
Login now