We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How do we manually create a session given a user?
The text was updated successfully, but these errors were encountered:
You can create a plug session with authenticated user by calling Pow.Plug.Session.create(conn, user, otp_app: :my_app):
Pow.Plug.Session.create(conn, user, otp_app: :my_app)
https://github.com/danschultzer/pow/blob/caa55743fac533cfdbed72b09bb34041adc8697c/lib/pow/plug/session.ex#L66-L94
Sorry, something went wrong.
Great thanks, and closing one out?
Just below:
https://github.com/danschultzer/pow/blob/caa55743fac533cfdbed72b09bb34041adc8697c/lib/pow/plug/session.ex#L96-L113
Pow.Plug.Session.delete(conn, otp_app: :my_app)
No branches or pull requests
How do we manually create a session given a user?
The text was updated successfully, but these errors were encountered: