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

Revert "Test token authentication; should allow it"

It shouldn't be allowed!

This reverts commit 46097ba8.

closes #7160
parent d421e42d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment