Skip to content

Commit

Permalink
Merge pull request #11739 from nick2432/username-validation
Browse files Browse the repository at this point in the history
Username validation
  • Loading branch information
jredrejo authored Jan 22, 2024
2 parents e80feb9 + 9652e51 commit fc94f27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kolibri/core/public/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def list(self, request, *args, **kwargs):
else:
username = request.query_params.get("search", None)
queryset = self.get_queryset().filter(
facility=facility_id, username=username
facility=facility_id, username__iexact=username
)
response = (
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
if (!this.wizardService.state.context.firstImportedLodUser) {
this.wizardService.send({
type: 'SET_FIRST_LOD',
value: { username: this.username, password },
value: { username: task.extra_metadata.username, password },
});
}
Expand Down

0 comments on commit fc94f27

Please sign in to comment.