aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/www
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-28 23:54:57 +0300
committerGravatar Vitaly Takmazov2019-03-28 23:54:57 +0300
commitce618d557d65e15eaacc5b09f114ce7b9ccdbd81 (patch)
tree2d7c90846ca03ce874183b9b756fc0cba030493a /src/main/java/com/juick/server/www
parent1ae42fb5974498880b549f30877f0ff184d0ec2c (diff)
update deps
Diffstat (limited to 'src/main/java/com/juick/server/www')
-rw-r--r--src/main/java/com/juick/server/www/controllers/SocialLogin.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/server/www/controllers/SocialLogin.java b/src/main/java/com/juick/server/www/controllers/SocialLogin.java
index 59b1ec0b..35d3c1f8 100644
--- a/src/main/java/com/juick/server/www/controllers/SocialLogin.java
+++ b/src/main/java/com/juick/server/www/controllers/SocialLogin.java
@@ -111,11 +111,11 @@ public class SocialLogin {
facebookAuthService = facebookBuilder
.apiSecret(FACEBOOK_SECRET)
.callback(facebookRedirectUri)
- .scope("email")
+ .defaultScope("email")
.build(FacebookApi.instance());
vkAuthService = vkBuilder
.apiSecret(VK_SECRET)
- .scope("friends,wall,offline")
+ .defaultScope("friends,wall,offline")
.callback(VK_REDIRECT)
.build(VkontakteApi.instance());
}