-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Backwards Compatible Calls cause exception #451
Comments
See MR: #452 |
Thanks! 🙏 The PR looks good though I try to get around all Out of curiosity, does this only occur if you start up with |
I can confirm that this does only occur running mix phx.server. But thanks for merging this <3 |
Using pow_postgres_store the first time logging in after application startup causes an exception:
function Pow.Postgres.Store.keys/1 is undefined or private
The issue here seems to be:
defp has_binary_keys?(store) do: not function_exported?(store, :all, 2)
Documentation states:
So simply calling
Code.ensure_loaded(store)
upfront fixes the issue.To reproduce this behaviour setup pow_postgres_store as store and try a login directly after application startup.
The text was updated successfully, but these errors were encountered: