summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/user.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index cb093cf..e3246ad 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -75,7 +75,8 @@ class User < CouchRest::Model::Base
:login => self.login,
:ok => self.valid?,
:id => self.id,
- :enabled => self.enabled?
+ :enabled => self.enabled?,
+ :is_admin => self.is_admin?
}.to_json(options)
end