summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/pages/migrate.jsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/pages/migrate.jsx b/templates/pages/migrate.jsx
index c327e72..3fca312 100644
--- a/templates/pages/migrate.jsx
+++ b/templates/pages/migrate.jsx
@@ -34,7 +34,12 @@ var UserMigration = React.createClass({
var queryObj = this.getQuery();
var content = (<LoginNoPasswordForm ref="LoginNoPasswordForm" submitForm={this.handleSendToken} uid={queryObj.uid}/>);
var continueLink = url.parse("/login/oauth/authorize");
- continueLink.query = queryObj;
+ continueLink.query = {
+ client_id: queryObj.client_id,
+ response_type: queryObj.response_type,
+ state: queryObj.state,
+ scopes: queryObj.scopes
+ };
if(this.state.emailedKey) {
content = (<KeyEmailed ref="KeyEmailed" />);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback