diff options
Diffstat (limited to 'app/views/users/show.api.rsb')
-rw-r--r-- | app/views/users/show.api.rsb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.api.rsb b/app/views/users/show.api.rsb index 5fe3d5b1c..a19a8c637 100644 --- a/app/views/users/show.api.rsb +++ b/app/views/users/show.api.rsb @@ -9,7 +9,7 @@ api.user do api.updated_on @user.updated_on api.last_login_on @user.last_login_on api.passwd_changed_on @user.passwd_changed_on - api.twofa_scheme @user.twofa_scheme + api.twofa_scheme @user.twofa_scheme if User.current.admin? || (User.current == @user) api.api_key @user.api_key if User.current.admin? || (User.current == @user) api.status @user.status if User.current.admin? |