aurweb/web
Eli Schwartz 050b08081a Fix more PHP 7.4 warnings
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 <eschwartz@archlinux.org>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2020-02-13 09:11:34 +01:00
..
html Add support for backup email addresses 2020-02-02 12:12:42 +01:00
lib Fix more PHP 7.4 warnings 2020-02-13 09:11:34 +01:00
locale Add dummy "web/locale/" directory. 2011-04-10 15:40:49 +02:00
template Explain syntax/features in the comments section 2020-02-02 12:12:43 +01:00