ueberauth / guardian

Elixir Authentication
MIT License
3.4k stars 381 forks source link

Warning causing compile error with Elixir 1.14.0 #704

Closed kevinkirkup closed 1 year ago

kevinkirkup commented 1 year ago

Steps to Reproduce

Compile and run with Elixir 1.14.0

warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
  lib/myapp/guardian/guardian.ex:7: MyApp.Guardian

Compilation failed due to warnings while using the --warnings-as-errors option
  use Guardian, otp_app: :my_app

Expected Result

No Warnings

Actual Result

Warning

yordis commented 1 year ago

Closer in favor of #702