app/controllers/symphonia/accounts_controller.rb in symphonia-3.2.4 vs app/controllers/symphonia/accounts_controller.rb in symphonia-3.3.0
- old
+ new
@@ -104,10 +104,9 @@
@user = find_account_by_token(params.require(:id))
return render_404 if @user.nil?
if params[:password] # && params[:password_confirmation]
@user.password = params[:password]
- # @user.password_confirmation = params[:password_confirmation]
end
if @user.changed? && @user.save
return redirect_to(user_current_path, notice: t(:text_updated))
end