mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 11:02:17 +00:00
* password in init user only if needed * reactivate user session * set context AuthorizeClientIDSecret * fix qr code for light * fix copy * check user and org active in auth * add org view provider * handle inactive projects * translate error messages
7 lines
230 B
JavaScript
7 lines
230 B
JavaScript
const copyToClipboard = str => {
|
|
navigator.clipboard.writeText(str);
|
|
}
|
|
|
|
let copyButton = document.getElementsByClassName("copy")[0];
|
|
copyButton.addEventListener("click", copyToClipboard(copyButton.getAttribute("data-copy")));
|