Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Fix copy and paste from the email
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoraddatz committed Apr 17, 2024
1 parent a5c99c2 commit 95ee83d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/pin.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ class="bg-transparent cursor-pointer text-light dark:text-gray-200 hover:underli
let paste = (event.clipboardData || window.clipboardData).getData('text');
paste = paste.replace(/\s+/g, '');
if (isNaN(parseInt(paste)) || paste.length !== pin_length) {
return;
}
Expand Down

0 comments on commit 95ee83d

Please sign in to comment.