mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #915 from mattermost/plt-300
PLT-300 Update allow/deny oauth page UI, and add ouath as reserved word.
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
|
||||
var Authorize = require('../components/authorize.jsx');
|
||||
|
||||
function setupAuthorizePage(teamName, appName, responseType, clientId, redirectUri, scope, state) {
|
||||
function setupAuthorizePage(props) {
|
||||
React.render(
|
||||
<Authorize
|
||||
teamName={teamName}
|
||||
appName={appName}
|
||||
responseType={responseType}
|
||||
clientId={clientId}
|
||||
redirectUri={redirectUri}
|
||||
scope={scope}
|
||||
state={state}
|
||||
teamName={props.TeamName}
|
||||
appName={props.AppName}
|
||||
responseType={props.ResponseType}
|
||||
clientId={props.ClientId}
|
||||
redirectUri={props.RedirectUri}
|
||||
scope={props.Scope}
|
||||
state={props.State}
|
||||
/>,
|
||||
document.getElementById('authorize')
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user