5.4.0
Restructure New Journal entries Colour tabs update with wind
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
// GET -> { ok:true, user: { email } } if signed in, else { ok:true, user:null }.
|
||||
// Always 200 - this is a status check, not an auth gate.
|
||||
require __DIR__ . '/../lib/bootstrap.php';
|
||||
|
||||
$user = current_user();
|
||||
json_out(['ok' => true, 'user' => $user ? ['email' => $user['email']] : null]);
|
||||
Reference in New Issue
Block a user