Title: Feature Request
Last modified: May 25, 2023

---

# Feature Request

 *  Resolved [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years ago](https://wordpress.org/support/topic/feature-request-987/)
 * Hello,
 * this is not an issue at all and not a big problem but it would be nice to have
   for the user experience:
 * When I get my 2FA code per E-Mail I always just double click it to select it 
   and then copy it. On my system ( Windows 11 using Thunderbird Mail ) the space
   behind the code is always selected too. Now when I paste it into the code field
   from WP 2FA the space is not being automatically stripped and I need to remove
   it manually. It would be very nice to have some kind of validation that strips
   every character that is not a number.
 * This would make the user experience with WP 2FA just a little better. Other than
   that I love it, great plugin, Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [3 years ago](https://wordpress.org/support/topic/feature-request-987/#post-16770094)
 * We never noticed that but it is a very good improvement suggestrion [@benniledl](https://wordpress.org/support/users/benniledl/)
 * Indeed, by stripping that extra space from the email it makes life much easier.
   We will include a fix for this in the next update.
 * Thank you for using our plugin. Please do not forget to [**rate our plugin**](https://wordpress.org/support/plugin/wp-2fa/reviews/).
   These ratings really help us.
 * Thank you very much and have a great day.
 *  Thread Starter [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [3 years ago](https://wordpress.org/support/topic/feature-request-987/#post-16770124)
 * Thank you very much, when this feature is added I would love to rate your plugin.
 *  Thread Starter [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16906396)
 * Hi, I’ve seen you have updated the plugin but the new feature is not included,
   I did notice that there is a validation in place that invalid characters like
   an extra space cannot be submitted but I it would be awesome to implement a change
   that when I copy and paste the code with an extra space at the end that it just
   strips it automatically.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16908909)
 * Hello [@benniledl](https://wordpress.org/support/users/benniledl/)
 * We’ve done some testing and it turns out that this problem is actually a Windows“
   problem” – if you use Android, Linux or any other operating system, only the 
   code is copied. For some reason Windows is also highlighting the empty space 
   behind the code.
 * So as such there is not much we can do from our end apart from filtering it when
   the user is trying to input the code, which we are doing now.
 * Thanks for your feedback and for using our plugin. Should you have any other 
   feedback please do not hesitate to get in touch.
 *  Thread Starter [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16908916)
 * Hi, I know that this is a Windows problem but you could automatically strip the
   space when it is pasted into the form so that windows users can just copy paste
   and enter and don’t have to manually strip the space.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16910450)
 * Hello [@benniledl](https://wordpress.org/support/users/benniledl/)
 * That is exactly what we have done in the latest update that we have released 
   today; if you try to paste a code with a space, the form will automatically remove
   the extra space and accept the code.
 * Have you tried it?
 *  Thread Starter [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16911346)
 * Hi, thanks for writing back. Yes I tried it, I thought I had the newest version
   because the update wasn’t showing in the plugins overview, I have manually installed
   it and now it works thank you!
 * I think the multisite setup somehow has hidden the plugin’s update idk but that’s
   a osi layer 8 (me) problem 😀
 * Thank you for adding this feature, your plugin really deserves a 5 star rating.
 *  Plugin Contributor [robertabela](https://wordpress.org/support/users/robert681/)
 * (@robert681)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16919068)
 * You’re welcome [@benniledl](https://wordpress.org/support/users/benniledl/) and
   thank you very much for the review. Have a great day.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Feature Request’ is closed to new replies.

 * ![](https://ps.w.org/wp-2fa/assets/icon-256x256.png?rev=2961533)
 * [WP 2FA - Two-factor authentication for WordPress](https://wordpress.org/plugins/wp-2fa/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-2fa/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-2fa/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-2fa/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-2fa/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-2fa/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [robertabela](https://wordpress.org/support/users/robert681/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/feature-request-987/#post-16919068)
 * Status: resolved