Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
b1730754
Commit
b1730754
authored
10 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fixed demand
#90
Changing texts in key creation
parent
92832f62
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cutecoin/gui/process_cfg_account.py
+4
-4
4 additions, 4 deletions
src/cutecoin/gui/process_cfg_account.py
with
4 additions
and
4 deletions
src/cutecoin/gui/process_cfg_account.py
+
4
−
4
View file @
b1730754
...
...
@@ -66,19 +66,19 @@ class StepPageKey(Step):
def
is_valid
(
self
):
if
len
(
self
.
config_dialog
.
edit_salt
.
text
())
<
6
:
self
.
config_dialog
.
label_info
.
setText
(
"
Warning
: salt is too short
"
)
self
.
config_dialog
.
label_info
.
setText
(
"
Forbidden
: salt is too short
"
)
return
False
if
len
(
self
.
config_dialog
.
edit_password
.
text
())
<
6
:
self
.
config_dialog
.
label_info
.
setText
(
"
Warning
: password is too short
"
)
self
.
config_dialog
.
label_info
.
setText
(
"
Forbidden
: password is too short
"
)
return
False
if
detect_non_printable
(
self
.
config_dialog
.
edit_salt
.
text
()):
self
.
config_dialog
.
label_info
.
setText
(
"
Warning
: Invalid characters in salt field
"
)
self
.
config_dialog
.
label_info
.
setText
(
"
Forbidden
: Invalid characters in salt field
"
)
return
False
if
detect_non_printable
(
self
.
config_dialog
.
edit_password
.
text
()):
self
.
config_dialog
.
label_info
.
setText
(
"
Warning
: Invalid characters in password field
"
)
self
.
config_dialog
.
label_info
.
setText
(
"
Forbidden
: Invalid characters in password field
"
)
return
False
if
self
.
config_dialog
.
edit_password
.
text
()
!=
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment