Commit faa67998 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

astakos: Add missing save in reject_user

parent 21f71cd7
...@@ -330,6 +330,7 @@ class ActivationBackend(object): ...@@ -330,6 +330,7 @@ class ActivationBackend(object):
str(obj)) str(obj))
user.is_rejected = True user.is_rejected = True
user.rejected_reason = reason user.rejected_reason = reason
user.save()
logger.info("User rejected: %s", user.log_display) logger.info("User rejected: %s", user.log_display)
return ActivationResult(self.Result.REJECTED) return ActivationResult(self.Result.REJECTED)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment