Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Increase access token length

Neeraj Gupta6cf6f5a1d4ad
diff --git a/server/pkg/controller/public/collection_link.go b/server/pkg/controller/public/collection_link.go
index 0f592c2d8e..35f1c2ea1c 100644
--- a/server/pkg/controller/public/collection_link.go
+++ b/server/pkg/controller/public/collection_link.go
@@ -25,7 +25,7 @@ var AllowedReasons = map[string]string{
}
const (
- AccessTokenLength = 8
+ AccessTokenLength = 10
// AutoDisableAbuseThreshold indicates minimum number of abuse reports post which the access token is
// automatically disabled
AutoDisableAbuseThreshold = 3