Compare commits

..

2 commits

Author SHA1 Message Date
Benjamin Renard
7b2ce7ab73
Auth\Db: add edit_user CLI command 2024-09-15 10:01:13 +02:00
Benjamin Renard
bfac58c43a
Auth\Db: implement update_user() 2024-09-15 10:01:12 +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] = $values;
$values[$field] = $value;
break;
}
Log :: error("update_user: unknown field %s", $field);