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