Compare commits

..

2 commits

Author SHA1 Message Date
Benjamin Renard
a4e21e6046
Auth\Db: add edit_user CLI command 2024-09-15 09:39:22 +02:00
Benjamin Renard
a74c23fcd0
Auth\Db: implement update_user() 2024-09-15 09:39:21 +02:00

View file

@ -231,7 +231,7 @@ class Db extends Backend {
default:
if (in_array($field, App :: get('auth.db.exposed_fields'))) {
if ($value != $user[$field])
$values[$field] = $value;
$values[$field] = $values;
break;
}
Log :: error("update_user: unknown field %s", $field);