fix(backend): use GenerateSecureRandomString for api-keys, paste ids, and refresh tokens

This commit is contained in:
2026-02-14 18:31:40 -05:00
parent 809b513e7a
commit 5017e73bb5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ namespace SharpbinV3.Server.Services
var paste = new Paste
{
UUID = Guid.CreateVersion7(),
ID = Utilities.GenerateRandomString(8),
ID = Utilities.GenerateSecureRandomString(8),
Title = title,
AuthorUUID = author?.UUID,
User = author,