Browse Source

fix mail in github login

Namdak Tonpa 11 years ago
parent
commit
0a1ab8725d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/github.erl

+ 1 - 1
src/github.erl

@@ -66,7 +66,7 @@ email_prop(Props, github) ->
         case Mail of
         case Mail of
              null -> binary_to_list(proplists:get_value(<<"login">>, Props)) ++ "@github.com";
              null -> binary_to_list(proplists:get_value(<<"login">>, Props)) ++ "@github.com";
              undefined -> binary_to_list(proplists:get_value(<<"login">>, Props)) ++ "@github.com";
              undefined -> binary_to_list(proplists:get_value(<<"login">>, Props)) ++ "@github.com";
-             _ -> "hacker@voxoz.com" end.
+             M -> binary_to_list(M) end.
 
 
 login_button() -> #panel{ class=["btn-group"], body=
 login_button() -> #panel{ class=["btn-group"], body=
     #link{id=github_btn, class=[btn, "btn-large"], 
     #link{id=github_btn, class=[btn, "btn-large"],