Skip to content

Commit

Permalink
Add success: true for extjs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Mar 31, 2016
1 parent 297eab2 commit 0cd8a2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions c2cgeoportal/views/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,7 @@ def logout(self):
def _user(self, user=None):
user = self.request.user if user is None else user
result = {
"success": True, # for Extjs
"username": user.username,
"is_password_changed": user.is_password_changed,
"role_name": user.role_name,
Expand Down

0 comments on commit 0cd8a2e

Please sign in to comment.