0
One error missing return statement on line22?but I saw the code didn't get why error is showing.see below code
Input this đ Smit smitkalkani@gmail.com 1234 smitkalkani@gmail.com 1234 https://code.sololearn.com/cS63zsHre0IO/?ref=app https://code.sololearn.com/cS63zsHre0IO/?ref=app
2 Answers
+ 4
line 74: Only one return statement. You need two.
Because you have an if statement.
condition true -> return something
condition false -> return something
+ 2
In the loginuser method, not all paths have a return statement(line ~80)