manoelhc / test-actions

Unnecessary else / elif used after return PYL-R1705
Style
Major
1 occurrence in this check
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it
 93                    Auth.password == password,
 94                ),
 95            ).first()
 96            if user_auth: 97                payload = {
 98                    "sub": str(user.id),
 99                    "username": user.username,