teamhanko / hanko

The complete Authentication and User Management solution for developers.
https://hanko.io
Other
5.76k stars 804 forks source link

chore: individual input fields for 'identifier', 'email' and 'username' #1437

Closed bjoern-m closed 5 months ago

bjoern-m commented 5 months ago

Description

Implementation

Previously, there was one input field named 'identifier', but in the UI, the placeholder in the input field should indicate whether the user can enter an email, a username, or both. Therefore, individual fields are now available. The introduced private method analyzeIdentifierInputs() checks the user input and determines, from the individual fields, the information of the input field expected based on the backend configuration.