[5.x]: Error trying to setup Passkey
Open
@gcamacho079 is already working on this.
Since Mar 23, 2026.
bug
- Dominant language
- PHP
- Stars
- 3.6k
- Forks
- 705
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 134
Description
What happened?
Description
I can't setup passkey on my user account
Steps to reproduce
- Log in to control panel
- Head to your user account
- Click on "Add passkey" button
- Enter name for key and press OK
At this point a "Type error" toast notification appears. Error in browser console:
[Error] There is no trigger element set for this modal. Set one with modal.$triggerElement = $(...) (anonymous function) (garnish.js:2:95587)
I was using Safari Version 18.6 (20621.3.11.11.3) at the time.
Expected behavior
Actual behavior
Craft CMS version
5.9.17
PHP version
8.4
Operating system and version
Mac
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.