server version, minor css fixes and other visual upgrades mostly to standard layout -> glitch css

This commit is contained in:
noxy
2020-01-02 11:51:29 +00:00
parent 55be581dac
commit 1399b95004
40 changed files with 1086 additions and 85 deletions

View File

@@ -23,6 +23,7 @@ class UserController extends Controller
*/
public function login(Request $request)
{
if($request->has('identifier') && $request->has('password')) {
switch(\Auth::verify([
'identifier' => $request->get('identifier'),
@@ -108,6 +109,11 @@ class UserController extends Controller
return Response::create(json_encode($filter));
}
public function isOnline()
{
return Cache::has('user-is-online-' . $this->id);
}
/**
* Show the form for creating a new resource.
*

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 297 KiB