mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Implemented the two factor auth login form.
This commit is contained in:
parent
35b5640627
commit
10ca895309
5 changed files with 78 additions and 4 deletions
|
@ -363,6 +363,11 @@ class AjaxUI {
|
|||
return;
|
||||
}
|
||||
|
||||
//Ignore ajax errors with 200 code (like the ones during 2FA authentication)
|
||||
if(request.status == 200) {
|
||||
return;
|
||||
}
|
||||
|
||||
console.error("Error getting the ajax data from server!");
|
||||
console.log(event);
|
||||
console.log(request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue