moqui / moqui-framework

Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
http://www.moqui.org
Other
279 stars 200 forks source link

Handle usernames with different casing in session data #576

Closed jenshp closed 1 year ago

jenshp commented 1 year ago

When providing a username with different casing than stored in the DB, login is successful but rendering of next page fails due to not finding the username. This fix makes the search of UserAccount based on the session data to use ignoreCase for the username field.

jonesde commented 1 year ago

Looks good, after reviewing the Forum thread it makes sense. Thanks for taking care of this.