Quantcast
Channel: Simple Password – LeakedIn
Viewing all articles
Browse latest Browse all 2663

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: before(:all) do @project = FactoryGirl.create(:project, name: "123", description: "123"); @user = FactoryGirl.create(:user, email: "test@test.com", password: nil, code: nil); user = User.login(FactoryGirl.create(:user, email: "test@test.com", password: "123", code: 0)); if user @auth = user['auth'] end end it "can create an Project" do expect{Project.create(project: @acc, user: @user)}.to change{Project.all(authorization: @auth).size}.by (1); Source: http://pastie.org/pastes/9459748/download

Viewing all articles
Browse latest Browse all 2663

Trending Articles