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 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoraddatz authored Apr 17, 2024
1 parent 3f296e6 commit fe9350a
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 fe9350a

Please sign in to comment.