fix: login (#242)

* 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
This commit is contained in:
Livio Amstutz
2020-06-19 14:52:04 +02:00
committed by GitHub
parent fb89241984
commit e653eaab86
26 changed files with 327 additions and 83 deletions

View File

@@ -3,4 +3,4 @@ const copyToClipboard = str => {
}
let copyButton = document.getElementsByClassName("copy")[0];
copyButton.addEventListener("click", copyToClipboard(copyButton.getAttribute("data-copy").value));
copyButton.addEventListener("click", copyToClipboard(copyButton.getAttribute("data-copy")));

View File

@@ -68,12 +68,12 @@ html {
}
#qrcode {
svg rect[style*="fill:white"] {
fill: $backgroundColorLight !important;
svg rect.color {
fill: $fontColorLight;
}
svg rect[style*="fill:black"] {
fill: $fontColorLight !important;
svg rect.bg-color {
fill: $backgroundColorLight;
}
}