mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
login if we do not have access token
This commit is contained in:
+3
@@ -103,6 +103,9 @@ public class EduStepicAuthorizedClient {
|
||||
headers.add(new BasicHeader("Content-type", EduStepicNames.CONTENT_TYPE_APP_JSON));
|
||||
return getBuilder().setDefaultHeaders(headers).build();
|
||||
}
|
||||
else {
|
||||
login(stepicUser);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user