mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-30 16:40:05 +00:00
FIX: updated protospack lib
This commit is contained in:
@@ -20,11 +20,11 @@ export class AuthClientService implements OnModuleInit {
|
||||
);
|
||||
}
|
||||
|
||||
async signIn({ username, password }: ILogin): Promise<any> {
|
||||
async signIn({ username, password, totp }: ILogin): Promise<any> {
|
||||
console.log('AuthClientService', 'SignIn');
|
||||
|
||||
const tokens = await new Promise((resolve, reject) => {
|
||||
this.authService.signIn({ username, password }).subscribe({
|
||||
this.authService.signIn({ username, password, totp }).subscribe({
|
||||
next(x) {
|
||||
resolve(x);
|
||||
},
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
export interface ILogin {
|
||||
username: string;
|
||||
password: string;
|
||||
totp: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user