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

slapos_cloud: Enable auto-approval of user creation

parent ac04263c
Pipeline #16710 failed with stage
in 0 seconds
......@@ -111,6 +111,10 @@
<tuple/>
</value>
</item>
<item>
<key> <string>preferred_credential_alarm_automatic_call</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>preferred_credential_recovery_automatic_approval</string> </key>
<value> <int>1</int> </value>
......
......@@ -18,7 +18,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
def afterSetUp(self):
TestSlapOSSecurityMixin.afterSetUp(self)
preference = self.portal.portal_preferences.getActiveSystemPreference()
preference = self.portal.portal_preferences.slapos_default_system_preference
preference.edit(
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