-
Notifications
You must be signed in to change notification settings - Fork 99
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
Password with Registration Fails #16
Comments
there is a bug about table name which prevent login,register ... I have a server which have old version of qor, there is no error like this. but I tried to install new qor version on other server, I faced up same issue. I fixed issue via editing library files. |
I have the same. Solved with #15 |
Hotfix: To use custom auth model without having to editing library files, name your user struct "Basics" or define a method TableName() string{return "basics"}, like above. |
Please see #12 (comment)
p.s. This issue appears because GORM v1.9.2 changed behaviour and lack of dependency management in QOR. |
I encountered similar problems with g01.13.4 darwin/amd64 while experimenting with the QOR Example server. I was seeing pq: missing FROM-clause entry for table "basics" in server logs. The messages were coming from
I resolved the problem by modifying each of the files. I changed the where() calls similarly in each file to this example from handlers.go line 27
to
|
I created a fork of qor where I committed several fixes/pull requests to make it work. Available at, https://github.com/qorpress/qorpress-auth-example |
I am unable to register a new user with a password. The UI states
invalid account
. The server output states(pq: missing FROM-clause entry for table "basics")
. I am using code inspired by this project'sREADME.md
.The text was updated successfully, but these errors were encountered: