Browse Source

Update Admin\Install page

Otherwise, the language of the start message, topic and forum is always English.
Visman 3 years ago
parent
commit
c2b160e228
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Models/Pages/Admin/Install.php

+ 1 - 1
app/Models/Pages/Admin/Install.php

@@ -82,7 +82,7 @@ class Install extends Admin
                 ->addRules([
                     'token'       => 'token:Install',
                     'installlang' => 'required|string:trim',
-                    'changelang'  => 'required|string',
+                    'changelang'  => 'string', // не нужно required
                 ]);
 
             if ($v->validation($_POST)) {