thebitguru / alfred-simple-2fa-paste

Simple Alfred workflow for pasting second factor authentication codes sent to Apple Message
https://alfred.app/workflows/thebitguru/simple-2fa-paste/
MIT License
15 stars 2 forks source link

[BUG / Feature Request] Regex does not match codes containing letters #4

Open hmenzagh opened 10 months ago

hmenzagh commented 10 months ago

There is an issue when trying to get back codes that contain letters. It seems that the regex only accepts digits. I currently do not have the time to send a PR at the moment, will do if the issue still persists when my schedule frees up a little.

Source of the issue: https://github.com/thebitguru/alfred-simple-2fa-paste/blob/149ad2e82305a4d0ee1e0e9634b4c116a81202f2/get_codes.sh#L11C1-L11C41

As always, thanks for the great work !

thebitguru commented 10 months ago

Thanks for reporting, @hmenzagh. Any chance you can share an example of the code?