From: Dylan William Hardison Date: Thu, 6 Dec 2018 18:54:36 +0000 (-0500) Subject: Bug 1511466 follow-up - formatting and nit X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97acf2c4b4979029002b755e2493a938abd53758;p=thirdparty%2Fbugzilla.git Bug 1511466 follow-up - formatting and nit --- diff --git a/Bugzilla/Quantum/API.pm b/Bugzilla/Quantum/API.pm index 89a33a5d3..82e49754a 100644 --- a/Bugzilla/Quantum/API.pm +++ b/Bugzilla/Quantum/API.pm @@ -22,12 +22,12 @@ sub user_profile { if ($user && $user->id) { $self->render( json => { - id => $user->id, - name => $user->name, - login => $user->login, - nick => $user->nick, - groups => [map { $_->name } @{$user->groups}], - mfa => $user->mfa, + id => $user->id, + name => $user->name, + login => $user->login, + nick => $user->nick, + groups => [map { $_->name } @{$user->groups}], + mfa => lc($user->mfa), mfa_required_by_group => $user->in_mfa_group ? true : false, } );