mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 23:35:57 +00:00
limit user data sent to frontend
This commit is contained in:
@@ -6,6 +6,7 @@ class Pref_Users extends Handler_Administrative {
|
||||
|
||||
function edit() {
|
||||
$user = ORM::for_table('ttrss_users')
|
||||
->select_expr("id,login,access_level,email,full_name,otp_enabled")
|
||||
->find_one((int)$_REQUEST["id"])
|
||||
->as_array();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user