mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
#1650 Fix users with capitals not having their session saved
This commit is contained in:
parent
3cb40a2c93
commit
f431325516
@ -78,7 +78,7 @@ public final class AuthMeColumnsHandler {
|
||||
*/
|
||||
public <T> boolean update(String name, DataSourceColumn<T> column, T value) {
|
||||
try {
|
||||
return internalHandler.update(name, column, value);
|
||||
return internalHandler.update(name.toLowerCase(), column, value);
|
||||
} catch (SQLException e) {
|
||||
logSqlException(e);
|
||||
return false;
|
||||
|
@ -452,7 +452,7 @@ public abstract class AbstractDataSourceIntegrationTest {
|
||||
DataSource dataSource = getDataSource();
|
||||
|
||||
// when
|
||||
dataSource.grantSession("bobby");
|
||||
dataSource.grantSession("Bobby");
|
||||
dataSource.grantSession("doesNotExist");
|
||||
|
||||
// then
|
||||
|
Loading…
Reference in New Issue
Block a user