ueberauth / guardian

Elixir Authentication
MIT License
3.43k stars 382 forks source link

Upgrading Guardian #141

Closed nathany closed 8 years ago

nathany commented 8 years ago

Upgrading guardian from 0.9.1 to 0.10.1 and guardian_db to 0.4.0 to 0.5.0 is resulting in this error:

== Compilation error on file web/channels/authorized_channel.ex ==
** (CompileError) web/channels/authorized_channel.ex:3: undefined function params/0

Line 3 is:

use Guardian.Channel

elixir 1.2.4 ecto 2.0 rc.1

bsidoruk commented 8 years ago

It seems to be here, https://github.com/ueberauth/guardian/blob/master/lib/guardian/channel.ex#L46

hassox commented 8 years ago

Thanks for the bug report!

doomspork commented 8 years ago

Fixed thanks to @danielfarrell 👍

nathany commented 8 years ago

Thanks!