ldap-matter/oauth
SKS Parnic a3a514d281 Fixed failing oauth if username case changed
If the user had previously logged into mattermost as "user" and then tried to connect another device as "User", a new set of entries would be created in the database which caused user IDs to not match up which caused Mattermost to throw an error about the account already being registered under a different service. This change ensures usernames are always processed in lowercase so that this can't happen.

Note that manual fixups of any existing entries in the mattermost-ldap database may need to be performed to fully fix everything. This just prevents the issue from occurring again in a very simple way. A more thorough fix would be to make the db queries check in a case-insensitive matter, though multiple entries in the users database would still exist.
2020-03-12 12:28:45 -05:00
..
LDAP Refresh project and Readme 2019-05-02 15:32:41 +02:00
OAuth2 Initial Commit - First version 2017-08-07 21:01:11 +02:00
images Refresh project and Readme 2019-05-02 15:32:41 +02:00
.htaccess Initial Commit - First version 2017-08-07 21:01:11 +02:00
authorize.php Fixed failing oauth if username case changed 2020-03-12 12:28:45 -05:00
config_db.php.example Refresh project and Readme 2019-05-02 15:32:41 +02:00
connexion.php Fixed failing oauth if username case changed 2020-03-12 12:28:45 -05:00
index.php Refresh project and Readme 2019-05-02 15:32:41 +02:00
resource.php Refresh project and Readme 2019-05-02 15:32:41 +02:00
server.php Refresh project and Readme 2019-05-02 15:32:41 +02:00
style.css Refresh project and Readme 2019-05-02 15:32:41 +02:00
token.php Initial Commit - First version 2017-08-07 21:01:11 +02:00