adds setEula to support\settings

This commit is contained in:
Godfrey M 2024-09-04 12:26:44 -07:00
parent f04a4a3cf5
commit 20fa4c39f9

View file

@ -121,6 +121,10 @@ class Settings
'ldap_basedn' => 'CN=Users,DC=ad,DC=example,Dc=com' 'ldap_basedn' => 'CN=Users,DC=ad,DC=example,Dc=com'
]); ]);
} }
public function setEula($text = 'Default EULA text')
{
return $this->update(['default_eula_text' => $text]);
}
/** /**
* @param array $attributes Attributes to modify in the application's settings. * @param array $attributes Attributes to modify in the application's settings.