Revert "add user email on account created page"

This reverts commit 164fc1108aa5349b5be1fa189b854dcb9c542f23.
This commit is contained in:
Robin Ward
2014-10-01 10:30:26 -04:00
parent 7a0b1c1dff
commit be93f224a6
5 changed files with 4 additions and 10 deletions

View File

@ -338,11 +338,6 @@ class UsersController < ApplicationController
end
def account_created
params.require(:username)
@user = User.find_by_username_or_email(params[:username].to_s)
raise Discourse::NotFound unless @user
expires_now
render layout: 'no_js'
end