limit user data sent to frontend
This commit is contained in:
parent
d4ad483add
commit
08ff629af5
|
@ -6,6 +6,7 @@ class Pref_Users extends Handler_Administrative {
|
||||||
|
|
||||||
function edit() {
|
function edit() {
|
||||||
$user = ORM::for_table('ttrss_users')
|
$user = ORM::for_table('ttrss_users')
|
||||||
|
->select_expr("id,login,access_level,email,full_name,otp_enabled")
|
||||||
->find_one((int)$_REQUEST["id"])
|
->find_one((int)$_REQUEST["id"])
|
||||||
->as_array();
|
->as_array();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue