OwenKelvin/Angular-School-Management-System

View on GitHub
src/app/core/services/authentication/authentication.service.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function login has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  login({ username, password, rememberMe }) {
    const loginData: OauthInterface = {
      grant_type: this.config.grantType,
      client_id: this.config.clientId,
      client_secret: this.config.clientSecret,
Severity: Minor
Found in src/app/core/services/authentication/authentication.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status