feat(cops): clean rubocop run
1. ignoring one file because it's an intentional vuln 2. made a few small semantic changes, but verified that they're equivalent.
This commit is contained in:
@@ -19,7 +19,7 @@ class PasswordResetsController < ApplicationController
|
||||
def confirm_token
|
||||
if !params[:token].nil? && is_valid?(params[:token])
|
||||
flash[:success] = "Password reset token confirmed! Please create a new password."
|
||||
render "reset_password"
|
||||
render "password_resets/reset_password"
|
||||
else
|
||||
flash[:error] = "Invalid password reset token. Please try again."
|
||||
redirect_to :login
|
||||
|
||||
Reference in New Issue
Block a user