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

@@ -23,7 +23,7 @@ pub struct GitHubUser {
pub login: String,
pub id: u64,
pub avatar_url: String,
pub name: String,
pub name: Option<String>,
pub email: Option<String>,
pub bio: Option<String>,
}