fixed cache and email creation from url

This commit is contained in:
Gitea
2025-04-28 05:36:36 +05:30
parent e0d260187d
commit a72b7f48a8
3 changed files with 16 additions and 12 deletions

View File

@@ -9,6 +9,10 @@ class AppController extends Controller
{
public function mailbox($email = null) {
if ($email) {
$validatedData = validator(['email' => $email], [
'email' => 'required|email',
])->validate();
if (json_decode(config('app.settings.configuration_settings'))->enable_create_from_url) {
ZEmail::createCustomEmailFull($email);
}