Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased login pass limitation of 18 characters #254 #255

Open
wants to merge 1 commit into
base: release-v5.0.3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@
/error_hull_show
/pickTest.bmp
/SkeletalTrapezoidation--*
/plugins/CrealityUI/CrealityUI.pro.user
/plugins/CrealityUI/CrealityUI.pro.user
/.vs
2 changes: 1 addition & 1 deletion plugins/CrealityUI/CrealityUI/cxcloud/LoginDialog.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Window
property bool globalAutoLogin: true
property string phoneRegExp: "^[0-9]{1,15}$"
property string emailRegExp: "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,30})$"
property string passwordExp: showQuickLogin ? "^[\\d]{4}$" : "^.{6,18}$"
property string passwordExp: showQuickLogin ? "^[\\d]{4}$" : "^.{6,32}$"

onCurLoginTypeChanged: {
showQuickLogin = false
Expand Down
2 changes: 1 addition & 1 deletion plugins/CrealityUI/CrealityUI/secondqml/LoginDlg.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Window
property bool globalAutoLogin: true
property string phoneRegExp: "^[0-9]{1,15}$"
property string emailRegExp: "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,30})$"
property string passwordExp: showQuickLogin ? "^[\\d]{4}$" : "^.{6,18}$"
property string passwordExp: showQuickLogin ? "^[\\d]{4}$" : "^.{6,32}$"
property string basicWebUrl: serverControl.currentIndex ? "https://www.crealitycloud.com" : "https://www.crealitycloud.cn"
property string signupWebsitebyMail: basicWebUrl + "?signup=0&channel=creality-print"
property string signupWebsitebyPhone: basicWebUrl + "?signup=1&channel=creality-print"
Expand Down