Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16503801
D3173.id9077.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3173.id9077.diff
View Options
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
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 28, 1:41 PM (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10048638
Default Alt Text
D3173.id9077.diff (1 KB)
Attached To
Mode
D3173: Get rid of keyType=bigint, and make the language cookie "secure"
Attached
Detach File
Event Timeline
Log In to Comment