mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 09:36:08 +00:00
feat(auth): enforce length limits for name and password during registration
feat(comments): add content length validation for comments and annotations feat(guest-gate): restrict guest name length and update localStorage handling feat(share-link-unlock): set maxLength for password input field
This commit is contained in:
@@ -61,6 +61,7 @@ export function ShareLinkUnlock({ videoId }: ShareLinkUnlockProps) {
|
||||
type="password"
|
||||
placeholder="Password"
|
||||
value={password}
|
||||
maxLength={128}
|
||||
onChange={(event) => setPassword(event.target.value)}
|
||||
onKeyDown={(event) => {
|
||||
if (event.key === 'Enter') {
|
||||
|
||||
Reference in New Issue
Block a user