NFID wants a frontend canister to have update method 'get_trusted_origins'

When I try to login with NFID to my dapp, in browser log:

Canister XXX has no update method 'get_trusted_origins'

But XXX is a frontend canister, how can it have an additional method?

What’s wrong?!