Skip to content

Commit e295c72

Browse files
author
Anton Nemtsev
committed
minor changes
1 parent 0be4fa7 commit e295c72

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MONGODB_NAME=fm
55
COOKIE_DOMAIN=.frontender.info
66
DOMAIN=https://frontender.info/
77
DEFAULT_REDIRECT=https://user.frontender.info/
8-
TOKEN_SERVICE=http://token.frontender.info/token/
8+
TOKEN_SERVICE=https://token.frontender.info/token/
99
ORG_NAME=FrontenderMagazine
1010
GITHUB_AUTH_TOKEN=https://github.com/login/oauth/access_token
1111
GITHUB_AUTH_URL=https://github.com/login/oauth/authorize

source/routes/get.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ export default (req, res, next) => {
3535
}?client_id=${clientId
3636
}&redirect_uri=${redirectUri
3737
}&scope=${scope
38-
}&state=${state}`);
38+
}&state=${state
39+
}&allow_signup=true`);
3940

4041
res.redirect(`${url
4142
}?client_id=${clientId
4243
}&redirect_uri=${redirectUri
4344
}&scope=${scope
44-
}&state=${state}`, next);
45+
}&state=${state
46+
}&allow_signup=true`, next);
4547
};

0 commit comments

Comments
 (0)