質問編集履歴
1
誤植があった。
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
@user = User.find_for_oauth(request.env['omniauth.auth'])
|
64
64
|
|
65
|
-
if @
|
65
|
+
if @user.persisted?
|
66
66
|
|
67
67
|
flash[:notice] = I18n.t('devise.omniauth_callbacks.success', kind: provider.capitalize)
|
68
68
|
|