spec/resources/controllers.rb in simple_auth-0.1.4 vs spec/resources/controllers.rb in simple_auth-0.1.5
- old
+ new
@@ -17,10 +17,10 @@
@user_session = SimpleAuth::Session.new(params[:session])
if @user_session.save
redirect_to session.delete(:return_to) || dashboard_path
else
- flash[:warning] = "Invalid login/password."
+ flash[:alert] = "Invalid login/password."
render :new
end
end
end