feat: add folder uploads and archives with simpler account and plan forms
This commit is contained in:
1 parent
9afd7d0067
commit
faaa614cee
41 files changed
+1027
-71
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package httpapi
|
||||
|
||||
import (
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
)
|
||||
|
||||
// Stable internal IDs keep batch previews and retries consistent without exposing an extra form field.
|
||||
func accountSlug(login string) string {
|
||||
digest := sha256.Sum256([]byte(login))
|
||||
return "u-" + hex.EncodeToString(digest[:10])
|
||||
}
|
||||
Reference in new issue
Block a user