diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-10-02 12:47:54 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-10-02 12:47:54 -0400 |
commit | 62219273518b85f03930fc038d01b2649d1c6ba0 (patch) | |
tree | a8f9b7f4f6b5b16f130199948e818baa9a2edc66 /web/react/pages/authorize.jsx | |
parent | c427e9c9d6fbd68662fdfbbe733af4b34ae69269 (diff) | |
download | chat-62219273518b85f03930fc038d01b2649d1c6ba0.tar.gz chat-62219273518b85f03930fc038d01b2649d1c6ba0.tar.bz2 chat-62219273518b85f03930fc038d01b2649d1c6ba0.zip |
Update allow/deny oauth page UI, and add ouath as reserved word.
Diffstat (limited to 'web/react/pages/authorize.jsx')
-rw-r--r-- | web/react/pages/authorize.jsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/web/react/pages/authorize.jsx b/web/react/pages/authorize.jsx index db42c8266..8ea8b13eb 100644 --- a/web/react/pages/authorize.jsx +++ b/web/react/pages/authorize.jsx @@ -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') ); |