Commit 71ee107e authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakos: New user fields migration improvement

set accepted_policy to 'migration' for already accepted users which have not yet
a verified email address (old flow)
parent b0cb6d2e
......@@ -22,6 +22,7 @@ class Migration(DataMigration):
user_handled = True
user.moderated = True
user.accepted_policy = 'migration'
user.moderated_at = user.updated
user.verification_code = user.auth_token
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