https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43310

David Nind <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #4 from David Nind <[email protected]> ---
When I go to set up two factor authentication, I get an error in a browser
pop-up window when adding the PIN code:

  Error: Error: Missing property.
  Missing property.

After applying the patch, I rebuilt everything and restarted everything: yarn
build and restart_all

I got the same errors if I used the staff interface with a URL instead of
127.0.0.1:8081.

The web developer tools console also has these errors:

XHR POST http://127.0.0.1:8081/api/v1/auth/two-factor/registration/verification
[HTTP/1.1 400 Bad Request 23ms]

POST http://127.0.0.1:8081/api/v1/auth/two-factor/registration/verification
 Status: 400 Bad Request
 Version: HTTP/1.1
 Transferred: 330 B (129 B size)
 Referrer Policy: strict-origin-when-cross-origin
 Request Priority: Highest
 DNS Resolution: System

Response headers:       
 Connection: close
 Content-Length: 129
 Content-Type: application/json;charset=UTF-8
 Date: Wed, 07 Oct 2026 20:24:52 GMT
 Server: Apache/2.4.68 (Debian)
 Vary: User-Agent

Request headers:
 Accept: */*
 Accept-Encoding: gzip, deflate, br, zstd
 Accept-Language: en-US,en;q=0.9
 Connection: keep-alive
 Content-Length: 61
 Content-Type: application/json;charset=utf-8
 Cookie: CGISESSID=23d8e928f82ef7728e17adedecf429c0
 CSRF-TOKEN:
ec93950ba742ccd42700d0ff7726810aa757e32f,915eb27ec863f20e632cec2c0e3ebe57e3c8caf7,1791402640
 Host: 127.0.0.1:8081
 Origin: http://127.0.0.1:8081
 Priority: u=0
 Referer:
http://127.0.0.1:8081/cgi-bin/koha/members/two_factor_auth.pl?borrowernumber=51
 Sec-Fetch-Dest: empty
 Sec-Fetch-Mode: cors
 Sec-Fetch-Site: same-origin
 Sec-GPC: 1
 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:158.0) Gecko/20100101
Firefox/158.0
 X-Requested-With: XMLHttpRequest

Error: Missing property.
Missing property.
    _fetchJSON
http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/http-client.js:89
    promise callback*_fetchJSON/<
http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/http-client.js:77
    promise callback*_fetchJSON
http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/http-client.js:67
    post http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/http-client.js:153
    post
http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/default-api-client.js:12
    invokeTarget
http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/api-client.js:156
    promise callback*invokeTarget
http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/api-client.js:148
    apply http://127.0.0.1:8081/intranet-tmpl/prog/js/fetch/api-client.js:174
    <anonymous> Ember
    jQuery 2

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to