redirect_to :controller => 'site', :action => 'index'
end
return
+ elsif User.authenticate(email, pass, false)
+ flash[:notice] = "Sorry, your account is not active yet.<br>Please click on the link in the account confirmation email to activate your account."
else
flash[:notice] = "Sorry, couldn't log in with those details."
end
@title = @this_user.display_name
end
- def diary
- @this_user = User.find_by_display_name(params[:display_name])
- @title = @this_user.display_name + "'s diary"
- end
-
def make_friend
if params[:display_name]