okpy / ok

ok.py supports programming projects by running tests, tracking progress, and assisting in debugging.
Apache License 2.0
331 stars 83 forks source link

Strip whitespace from "Add user to group" text entry #1387

Open vivrekar opened 4 years ago

vivrekar commented 4 years ago

Small nit, good first issue.

Screen Shot 2020-03-16 at 4 08 12 PM

When adding a student to a group, if there are any spaces before or after the string entered in this text box, then the text is not accepted as input. Instead, we can strip any whitespace before and after the valid email address and accept it as input, successfully adding a student to the group.