| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8734e41 commit 0d2afb8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -453,8 +453,10 @@ class UserManager(CRUDMixin[User]): | |||
| 453 | 453 | ) | |
| 454 | 454 | ) | |
| 455 | 455 | _update_attrs = RequiredOptional( | |
| 456 | - required=("email", "username", "name"), | ||
| 457 | 456 | optional=( | |
| 457 | + "email", | ||
| 458 | + "username", | ||
| 459 | + "name", | ||
| 458 | 460 | "password", | |
| 459 | 461 | "skype", | |
| 460 | 462 | "linkedin", | |
@@ -475,7 +477,7 @@ class UserManager(CRUDMixin[User]): | |||
| 475 | 477 | "private_profile", | |
| 476 | 478 | "color_scheme_id", | |
| 477 | 479 | "theme_id", | |
| 478 | - ), | ||
| 480 | + ) | ||
| 479 | 481 | ) | |
| 480 | 482 | _types = {"confirm": types.LowercaseStringAttribute, "avatar": types.ImageAttribute} | |
| 481 | 483 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments