1 require File.join(File.dirname(__FILE__), '..', '..', "lib", "authenticated_system", "authenticated_dependencies")
2 class Users < Application
5 skip_before :login_required
9 @user = User.new(params[:user] || {})
14 cookies.delete :auth_token
16 @user = User.new(params[:user])
18 redirect_back_or_default('/')
25 self.current_user = User.find_activated_authenticated_model(params[:activation_code])
26 if logged_in? && !current_user.active?
29 redirect_back_or_default('/')