Fix: Remove legacy otp from login and show the right device id.
This commit is contained in:
@ -82,11 +82,10 @@ export class AuthService {
|
||||
return this.currentUserSubject.value;
|
||||
}
|
||||
|
||||
login(username: string, password: string, otp: string) {
|
||||
login(username: string, password: string) {
|
||||
const formData: FormData = new FormData();
|
||||
formData.append('username', username);
|
||||
formData.append('password', password);
|
||||
formData.append('otp', otp);
|
||||
formData.append('grant_type', 'password');
|
||||
return this.http
|
||||
.post<{ access_token: string; token_type: string }>(loginUrl, formData)
|
||||
|
||||
Reference in New Issue
Block a user