Opened 6 years ago

Closed 6 years ago

#2124 closed enhancement (fixed)

Add support for a third field in the login form

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 3.13
Component: core Version:
Keywords: Cc:

Description

There are extensions that want to use an extra field. For example the http://baseplugins.thep.lu.se/wiki/net.sf.basedb.otp that want username+password+otp as an option.

The current workaround is to only use two fields (for example, username+otp).

Change History (3)

comment:1 by Nicklas Nordborg, 6 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 6 years ago

(In [7500]) References #2124: Add support for a third field in the login form

Added an extra field getExtraField() to the LoginFormAction interface. A default implementation should provide backwards compatibility to existing implementations.

The login forms have been updated to display the extra field if it is present. The entered value is added to the LoginRequest as an attribute with name extraValue.

comment:3 by Nicklas Nordborg, 6 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.