Opened 3 years ago
Closed 3 years ago
#2278 closed enhancement (fixed)
Improvements to login page for better extensions
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.19.3 |
Component: | web | Version: | |
Keywords: | Cc: |
Description (last modified by )
The login page can to some extents be modified by extensions but there are some improvements that can be made:
- The possibility to execute scripts before the login information is submitted. This could for example, be implemented as a custom event that is sent to the form before the form is submitted. Event handlers can do their processing and may also cancel the submission if needed.
- The possibility to add extra attributes to the login form and/or fields. We already have the
DynamicActionsAttributes
interface for this and it should be very easy to add support for it.
- The error message section should always be included in the HTML, but it should be hidden if there is no current message. Extensions should be able to display error messages.
- It should be possible to store session settings in the
SessionControl
even if a user is not logged in. This would, for example, be useful for the WebAuthn implementation (https://baseplugins.thep.lu.se/wiki/net.sf.basedb.webauthn) that need to store information between two requests.
- Scripts and style sheets that are added by extensions may interfere with each other. Since only one login form can be active it would be nice if only the scripts/style sheets defined by that extension are added to the page. When a different login form is selected the page is reloaded with the new scripts/style sheets.
- More...?
Change History (9)
comment:1 by , 3 years ago
comment:5 by , 3 years ago
Description: | modified (diff) |
---|
comment:9 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 8035: