Skip to content

Commit

Permalink
handle edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed May 3, 2021
1 parent ac30297 commit ef542ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ def self.reset(username)
subject = "#{title}: Password Reset Request"
account_type =
if user.instance_of?(Provider)
user.member_type.humanize
user.member_type.to_s.humanize
else
user.client_type.humanize
user.client_type.to_s.humanize
end
text =
User.format_message_text(
Expand Down

0 comments on commit ef542ae

Please sign in to comment.