File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
stepik-union/src/main/java/org/stepik/core/stepik Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22# ## General options ###
33javaVersion =1.8
44gradleVersion =3.5
5- pluginVersion =2
5+ pluginVersion =2.1
66# if set the 'idePath' then the version ignoring
77# if 'sandboxDir' not set then use default sandbox directory (build/${product}-sandbox)
88# if 'ideVersion' not set then use LATEST-EAP-SNAPSHOT
Original file line number Diff line number Diff line change @@ -186,11 +186,12 @@ private static void setState(@NotNull StepikAuthState value) {
186186 long userId = getLastUser ();
187187 setTokenInfo (userId , new TokenInfo ());
188188 setLastUser (0 );
189- } else if (state == AUTH ){
190- Metrics .authenticate (SUCCESSFUL );
191189 }
192190
193191 if (oldState != state ) {
192+ if (state == AUTH ){
193+ Metrics .authenticate (SUCCESSFUL );
194+ }
194195 executor .execute (() ->
195196 listeners .forEach (listener -> listener .stateChanged (oldState , state )));
196197 }
You can’t perform that action at this time.
0 commit comments