@ -146,7 +146,7 @@ func SignIn(ctx *context.Context) {
return
}
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetActive OAuth2Providers ( )
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetOAuth2ProvidersMap ( true )
if err != nil {
ctx . ServerError ( "UserSignIn" , err )
return
@ -170,7 +170,7 @@ func SignIn(ctx *context.Context) {
func SignInPost ( ctx * context . Context ) {
ctx . Data [ "Title" ] = ctx . Tr ( "sign_in" )
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetActive OAuth2Providers ( )
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetOAuth2ProvidersMap ( true )
if err != nil {
ctx . ServerError ( "UserSignIn" , err )
return
@ -392,7 +392,7 @@ func SignUp(ctx *context.Context) {
ctx . Data [ "SignUpLink" ] = setting . AppSubURL + "/user/sign_up"
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetActive OAuth2Providers ( )
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetOAuth2ProvidersMap ( true )
if err != nil {
ctx . ServerError ( "UserSignUp" , err )
return
@ -422,7 +422,7 @@ func SignUpPost(ctx *context.Context) {
ctx . Data [ "SignUpLink" ] = setting . AppSubURL + "/user/sign_up"
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetActive OAuth2Providers ( )
orderedOAuth2Names , oauth2Providers , err := oauth2 . GetOAuth2ProvidersMap ( true )
if err != nil {
ctx . ServerError ( "UserSignUp" , err )
return