Skip to content

Commit f513eb0

Browse files
authored
fix: use initLoginFlow for code flow
jeroenheijmans#32
1 parent c73b0f2 commit f513eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/core/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class AuthService {
176176
}
177177

178178
public login(targetUrl?: string) {
179-
this.oauthService.initImplicitFlow(encodeURIComponent(targetUrl || this.router.url));
179+
this.oauthService.initLoginFlow(encodeURIComponent(targetUrl || this.router.url));
180180
}
181181

182182
public logout() { this.oauthService.logOut(); }

0 commit comments

Comments
 (0)