Opened 5 years ago

Closed 5 years ago

#1094 closed enhancement (fixed)

The OTP field should not be locked to numbers

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: OTP login v1.2
Component: net.sf.basedb.otp Keywords:


It seems like the javascript that is checking if a numeric key is pressed is also blocking paste key combination (ctrl+v) in some browsers. This is of course annoying even if it usually works if using right-click on the mouse and pasting from the context menu (which will also paste non-numeric characters). Since the input is also checked on the server side, it would be better to just leave the input field alone.

Change History (1)

comment:1 by Nicklas Nordborg, 5 years ago

Resolution: fixed
Status: newclosed

(In [5185]) Fixes #1094: The OTP field should not be locked to numbers

Note: See TracTickets for help on using tickets.