mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
11 lines
207 B
JavaScript
11 lines
207 B
JavaScript
|
import {Controller} from "@hotwired/stimulus";
|
||
|
|
||
|
export default class extends Controller
|
||
|
{
|
||
|
connect() {
|
||
|
this.element.onclick = function() {
|
||
|
window.u2fauth.register();
|
||
|
}
|
||
|
}
|
||
|
}
|