News for hackers. Stuff that matters.
Re:McGill will double your password if you don’t do it first by pyre on Tuesday November 18, 2014 @10:30PM (#8628069)
In pseudo-code:

  if not check_password(submitted_password) then
    HTTP 401
  else if password_last_changed < threshold then
    change_password(submitted_password + submitted_password)
    HTTP 401
  else
    log_user_in()
    HTTP 200
  endif

There are no comments on this comment yet.