Opened 9 months ago

Closed 7 months 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 Changed 8 months ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 8 months ago by Nicklas Nordborg

(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 Changed 7 months ago by Nicklas Nordborg

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