diff --git a/src/app/Tenant.php b/src/app/Tenant.php --- a/src/app/Tenant.php +++ b/src/app/Tenant.php @@ -20,7 +20,6 @@ 'title', ]; - protected $keyType = 'bigint'; /** * Utility method to get tenant-specific system setting. diff --git a/src/app/Traits/UuidIntKeyTrait.php b/src/app/Traits/UuidIntKeyTrait.php --- a/src/app/Traits/UuidIntKeyTrait.php +++ b/src/app/Traits/UuidIntKeyTrait.php @@ -38,14 +38,4 @@ { return false; } - - /** - * Get the key type. - * - * @return string - */ - public function getKeyType() - { - return 'bigint'; - } } diff --git a/src/resources/js/locale.js b/src/resources/js/locale.js --- a/src/resources/js/locale.js +++ b/src/resources/js/locale.js @@ -30,7 +30,7 @@ // Save the selected language in a cookie, so it can be used server-side // after page reload. Make the cookie valid for 10 years const age = 10 * 60 * 60 * 24 * 365 - document.cookie = 'language=' + lang + '; max-age=' + age + document.cookie = 'language=' + lang + '; max-age=' + age + '; path=/; secure' return lang }