質問編集履歴
1
誤字修正 params[:password] → params[:session][:password]
test
CHANGED
File without changes
|
test
CHANGED
@@ -84,7 +84,7 @@
|
|
84
84
|
|
85
85
|
@user = User.find_by(email: params[:session][:email])
|
86
86
|
|
87
|
-
if @user && @user.authenticate(params[:password])
|
87
|
+
if @user && @user.authenticate(params[:session][:password])
|
88
88
|
|
89
89
|
# ログイン処理(省略)
|
90
90
|
|