1. 27 Mar, 2020 3 commits
  2. 22 Mar, 2020 1 commit
  3. 29 Feb, 2020 3 commits
  4. 27 Feb, 2020 6 commits
  5. 26 Feb, 2020 3 commits
  6. 13 Feb, 2020 2 commits
    • Eli Schwartz's avatar
      Fix more PHP 7.4 warnings · 050b0808
      Eli Schwartz authored
      The try_login() function documents it returns an array containing an
      'error' key, and our only caller *only* consults the 'error' key. Then
      the function returns null instead of an array, if the login succeeded!
      
      I question why we bother returning the new SID if we never use it,
      surely we could either return the error or return default null. But, for
      now, I'm just going to fix it to return what it's actually supposed to,
      without changing the API.
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      050b0808
    • Eli Schwartz's avatar
      Fix PHP 7.4 warnings · 5ca1e271
      Eli Schwartz authored
      If a db query returned NULL instead of an array, then accessing $row[0]
      now throws a warning. The undocumented behavior of evaluating to NULL
      is maintained, and we want to return NULL anyway, so add a check for the
      value and fall back on the default function return type.
      Signed-off-by: Eli Schwartz's avatarEli Schwartz <eschwartz@archlinux.org>
      Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
      5ca1e271
  7. 11 Feb, 2020 4 commits
  8. 10 Feb, 2020 1 commit
  9. 02 Feb, 2020 11 commits
  10. 30 Jan, 2020 6 commits