Skip to content

Commit

Permalink
Merge pull request lobsters#730 from alanpost/pr-login-typo
Browse files Browse the repository at this point in the history
typo in login_controller.rb: s/acocunt/account/
  • Loading branch information
alanpost authored Aug 30, 2019
2 parents d7328d3 + 23ff1b0 commit d7d5804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/login_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def reset_password
end

if @found_user.is_banned?
flash.now[:error] = "Your acocunt has been banned."
flash.now[:error] = "Your account has been banned."
return forgot_password
end

Expand Down

0 comments on commit d7d5804

Please sign in to comment.