]> cat aescling's git repositories - mastodon.git/commit
Fix undefined variable for Auth::OmniauthCallbacksController (#16654)
authorDaniel <git@baby-gnu.org>
Wed, 25 Aug 2021 15:40:56 +0000 (15:40 +0000)
committersingle-right-quote <34298117+single-right-quote@users.noreply.github.com>
Wed, 1 Sep 2021 00:27:18 +0000 (00:27 +0000)
commitcbaedf26e427d0593bd0c70cff165170b46a8046
treec3e21cc66597accbef5e4bad9902a47533dc5556
parentc8aade49992cc7e84e4746e0a62e6dcf74c3fb76
Fix undefined variable for Auth::OmniauthCallbacksController (#16654)

The addition of authentication history broke the omniauth login with
the following error:

  method=GET path=/auth/auth/cas/callback format=html
  controller=Auth::OmniauthCallbacksController action=cas status=500
  error='NameError: undefined local variable or method `user' for
  #<Auth::OmniauthCallbacksController:0x00000000036290>
  Did you mean?  @user' duration=435.93 view=0.00 db=36.19

* app/controllers/auth/omniauth_callbacks_controller.rb: fix variable
  name to `@user`
app/controllers/auth/omniauth_callbacks_controller.rb