[Update] 修改authbook

This commit is contained in:
ibuler
2019-11-01 14:52:37 +08:00
parent ebbe49fab2
commit c25335cf95
4 changed files with 8 additions and 7 deletions

View File

@@ -26,5 +26,4 @@ class AuthBookBackend(BaseBackend):
}
obj = AuthBook.objects.create(**kwargs)
obj.set_auth(**auth_info)
obj.set_version_and_latest()
return obj