Fix another GitHub OAuth Bug, allow users to register with null names. (#69)

* Change header name

* Add default bio value

* Remove default

* Make name null

* Run prepare
This commit is contained in:
Geometrically
2020-10-03 16:31:10 -07:00
committed by GitHub
parent da654fdff5
commit 68ee2bdcdc
5 changed files with 11 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ pub struct User {
pub id: UserId,
pub github_id: Option<u64>,
pub username: String,
pub name: String,
pub name: Option<String>,
pub email: Option<String>,
pub avatar_url: Option<String>,
pub bio: Option<String>,