Browse Source

Merge pull request '更新木兰授权地址' (#183) from gua2048/forgeplus:mulanoss_server into mulanoss_server

pull/185/head
jasder 4 years ago
parent
commit
8343c625c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/libs/mulanoss_oauth.rb

+ 1
- 1
app/libs/mulanoss_oauth.rb View File

@@ -11,7 +11,7 @@ module MulanossOauth
end

def oauth_url
"#{base_url}/action/oauth2/authorize?client_id=#{client_id}&redirect_uri=#{URI.encode_www_form_component(redirect_uri)}&response_type=code"
"#{base_url}/api/auth/oschina?client_id=#{client_id}&redirect_uri=#{URI.encode_www_form_component(redirect_uri)}&response_type=code"
end

end


Loading…
Cancel
Save