Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added sending of activation email for account creations

  • Loading branch information...
commit 5c5fec752c53d11d3ffeb33ea09f3594e81ceb37 1 parent 5c66a23
@BRIMIL01 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  app/controllers/users_controller.rb
View
1  app/controllers/users_controller.rb
@@ -42,6 +42,7 @@ def update
def activate
@user = User.find_using_perishable_token(params[:token], 1.week)
flash[:notice] = "You account is already active" and redirect_to login_url if @user.active?
+
end
def resend_activation
Please sign in to comment.
Something went wrong with that request. Please try again.