Need to
This commit is contained in:
@@ -184,6 +184,23 @@ GridLayout
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
Item
|
||||
{
|
||||
Layout.columnSpan: 2
|
||||
}
|
||||
//New Grid
|
||||
Label
|
||||
{
|
||||
text: qsTr("Leistungen:")
|
||||
Layout.alignment: Qt.AlignRight
|
||||
font: Typography.h2
|
||||
|
||||
|
||||
}
|
||||
Item
|
||||
{
|
||||
Layout.columnSpan: 3
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -51,6 +51,15 @@ GridLayout
|
||||
placeholderText: qsTr("Hier Passwort eingeben")
|
||||
Layout.fillWidth: true
|
||||
property string name: "PYQCRM_USER_PASS"
|
||||
color: acceptableInput ? "black" : "red"
|
||||
ToolTip.visible: hovered && !acceptableInput
|
||||
ToolTip.text: "Passwort muss mind. 12 Zeichen lang sein und Groß-, Kleinbuchstaben, Zahlen sowie Sonderzeichen (!@#$%^&*()_+-=) enthalten."
|
||||
|
||||
validator: RegularExpressionValidator {
|
||||
regularExpression: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+\-=]).{12,}$/
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Label
|
||||
{
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
from Crypto.Cipher import AES
|
||||
from base64 import b64encode, b64decode
|
||||
import platform
|
||||
import bcrypt
|
||||
from Crypto.Hash import SHA256, SHA3_512
|
||||
from Crypto.Protocol.KDF import PBKDF2
|
||||
from Crypto.Random import get_random_bytes
|
||||
|
||||
Reference in New Issue
Block a user