Skip to content

Commit 8989953

Browse files
eslint fix
1 parent 4f68f25 commit 8989953

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

admin/webapp/websrc/app/routes/pages/login/login.component.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,9 @@ export class LoginComponent implements OnInit, OnDestroy {
250250
value = value
251251
? Object.assign({ isRancherSSOUrl: this.isFromSSO }, value)
252252
: { username: '', password: '', isRancherSSOUrl: this.isFromSSO };
253-
const loginFn =
254-
this.needsNewToken
255-
? this.authService.login(value)
256-
: this.authService.refreshToken(true);
253+
const loginFn = this.needsNewToken
254+
? this.authService.login(value)
255+
: this.authService.refreshToken(true);
257256
loginFn.subscribe(
258257
(userInfo: any) => {
259258
if (userInfo.need_to_reset_password) {

0 commit comments

Comments
 (0)