File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : multi_auth
2- version : 1.0 .0
2+ version : 1.1 .0
33
44authors :
55 - Sergey Makridenkov <s@msa7.ru>
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ class MultiAuth::Provider::Gitlab < MultiAuth::Provider
88 gitlab_user = fetch_gitlab_user(params[" code" ])
99
1010 user = User .new(
11- " gitlab" ,
12- gitlab_user.id,
13- gitlab_user.name,
14- gitlab_user.raw_json.as(String ),
15- gitlab_user.access_token.not_nil!
11+ " gitlab" ,
12+ gitlab_user.id,
13+ gitlab_user.name,
14+ gitlab_user.raw_json.as(String ),
15+ gitlab_user.access_token.not_nil!
1616 )
1717
1818 user.email = gitlab_user.email
@@ -43,7 +43,6 @@ class MultiAuth::Provider::Gitlab < MultiAuth::Provider
4343 property bio : String ?
4444 property location : String ?
4545 property email : String ?
46-
4746 end
4847
4948 private def fetch_gitlab_user (code )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class MultiAuth::Provider::Twitter < MultiAuth::Provider
3535
3636 @[JSON ::Field (converter: String ::RawConverter )]
3737 property id : String
38-
38+
3939 property name : String
4040 property screen_name : String
4141 property location : String ?
You can’t perform that action at this time.
0 commit comments