Skip to main content
Grammar
Source Link
danronmoon
  • 3.9k
  • 5
  • 36
  • 58

Leave it for the experts. Leave it for people who'swhose job it is to maintain these libraries. If you need to make a decision, you're doing it wrong.

Leave it for the experts. Leave it for people who's job it is to maintain these libraries. If you need to make a decision, you're doing it wrong.

Leave it for the experts. Leave it for people whose job it is to maintain these libraries. If you need to make a decision, you're doing it wrong.

Little mistake in the function
Source Link
Yann Chabot
  • 4.9k
  • 3
  • 43
  • 59
function register($username, $password) { $hash = password_hash($password, PASSWORD_BCRYPT); save($user$username, $hash); } function login($username, $password) { $hash = loadHashByUsername($username); if (password_verify($password, $hash)) { //login } else { // failure } } 
function register($username, $password) { $hash = password_hash($password, PASSWORD_BCRYPT); save($user, $hash); } function login($username, $password) { $hash = loadHashByUsername($username); if (password_verify($password, $hash)) { //login } else { // failure } } 
function register($username, $password) { $hash = password_hash($password, PASSWORD_BCRYPT); save($username, $hash); } function login($username, $password) { $hash = loadHashByUsername($username); if (password_verify($password, $hash)) { //login } else { // failure } } 
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot
deleted 2 characters in body
Source Link
Ry-
  • 226.3k
  • 56
  • 496
  • 504
Loading
Bounty Awarded with 50 reputation awarded by Michael Berkowski
Source Link
ircmaxell
  • 165.5k
  • 36
  • 269
  • 316
Loading