Commit 8c6fceeb authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Enable auto-approval of user creation

parent ac04263c
...@@ -111,6 +111,10 @@ ...@@ -111,6 +111,10 @@
<tuple/> <tuple/>
</value> </value>
</item> </item>
<item>
<key> <string>preferred_credential_alarm_automatic_call</string> </key>
<value> <int>1</int> </value>
</item>
<item> <item>
<key> <string>preferred_credential_recovery_automatic_approval</string> </key> <key> <string>preferred_credential_recovery_automatic_approval</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
......
...@@ -18,7 +18,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -18,7 +18,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
def afterSetUp(self): def afterSetUp(self):
TestSlapOSSecurityMixin.afterSetUp(self) TestSlapOSSecurityMixin.afterSetUp(self)
preference = self.portal.portal_preferences.getActiveSystemPreference() preference = self.portal.portal_preferences.slapos_default_system_preference
preference.edit( preference.edit(
preferred_credential_alarm_automatic_call=0, preferred_credential_alarm_automatic_call=0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment