misuzu/public-legacy/settings/index.php

12 lines
152 B
PHP
Raw Normal View History

2022-09-13 13:14:49 +00:00
<?php
namespace Misuzu;
2023-07-28 20:06:12 +00:00
use Misuzu\Users\User;
2022-09-13 13:14:49 +00:00
2023-07-28 20:06:12 +00:00
if(!User::hasCurrent()) {
2022-09-13 13:14:49 +00:00
echo render_error(401);
return;
}
url_redirect('settings-account');