Unverified Commit 9f38a424 authored by Benjamin Neff's avatar Benjamin Neff Committed by Dennis Schubert
Browse files

Revert "Test token authentication; should allow it"

It shouldn't be allowed!

This reverts commit 46097ba8.

closes #7160
parent d421e42d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -242,11 +242,11 @@ describe UsersController, :type => :controller do
      expect(assigns[:email_prefs]['mentioned']).to be false
    end

    it 'does allow token auth' do
    it "does not allow token auth" do
      sign_out :user
      bob.reset_authentication_token!
      get :edit, :auth_token => bob.authentication_token
      expect(response.status).to eq(200)
      expect(response).to redirect_to new_user_session_path
    end
  end