Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
fix double activation email bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bborn committed Feb 10, 2010
1 parent 00d4a5d commit 76906c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ def generate_login_slug

def deliver_activation
UserNotifier.deliver_activation(self) if self.recently_activated?
@activated = false
end

def deliver_signup_notification
Expand Down

0 comments on commit 76906c9

Please sign in to comment.