Opened 3 months ago

Closed 6 weeks ago

#2124 closed enhancement (fixed)

Add support for a third field in the login form

Reported by: nicklas Owned by: nicklas
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 7 weeks ago by nicklas

  • Owner changed from everyone to nicklas
  • Status changed from new to assigned

comment:2 Changed 7 weeks ago by nicklas

(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 6 weeks ago by nicklas

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.