-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] schema: invalid path "username" #2456
Comments
I have found the reason why. It is due to my implementation of the NewUserService function. userService in main.go is created by : This NewUserService is wrong:
and if * was removed, it will work fine:
Superficially,the error msg "schema: invalid path" has nothing to do NewUserService. It makes me so confused. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Browser shows:
schema: invalid path "username"schema: invalid path "username"
To Reproduce
Steps to reproduce the behavior:
codes as follow:
After click the login button, the page shows :
schema: invalid path "username"schema: invalid path "username"
Desktop (please complete the following information):
iris.Version
The text was updated successfully, but these errors were encountered: