Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(*): fix save of firstname and lastname from devices upon enrollment
Browse files Browse the repository at this point in the history
fix bad management of the name
  • Loading branch information
btry committed Dec 16, 2016
1 parent 8508b85 commit 2e6e824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/agent.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ protected function enrollByInvitationToken($input) {
$user->update([
'id' => $userId,
'firstname' => $firstname,
'realname' => "$firstname $lastname",
'realname' => $lastname,
]);
}

Expand Down

0 comments on commit 2e6e824

Please sign in to comment.