Hacker News new | ask | show | jobs
by josscrowcroft 3412 days ago
I liked this one:

https://github.com/squared-one/omniauth-unsplash/commit/072b...

"... It's not really removing any password, is it? But hey, why not use the momentum ... wheeeeeeeeeeeeeeeeee!"

4 comments

    -    protected $password = '12root34';
    +    protected $password = '';
"I'm a bit disappointed now that putting 'protected' in front of the password doesn't protect it ;)"
Another less 'relevant' result:

  -    acceptHandshake = params.pass == PASSWORD
  +    acceptHandshake = true//params.pass == PASSWORD
That just seems like a guy testing his authorization code. I would expect the next commit to put it back to its functional state.
Like 'Revert "remove password"'? ;-)
just growth hacking
free advertising. genius!