Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-103
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021-103
2021-103
Commits
ac59c605
Commit
ac59c605
authored
Nov 16, 2021
by
Karunathilake K. K. H. - IT18152456
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update final.py
parent
10fb77e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
Main/final.py
Main/final.py
+19
-1
No files found.
Main/final.py
View file @
ac59c605
...
...
@@ -111,4 +111,22 @@ def authenticate(checkPayload, refPayload):
print
(
"Authentication Successful!"
)
else
:
print
(
"Unsuccessful Authentication!"
)
\ No newline at end of file
print
(
"Unsuccessful Authentication!"
)
# Obtain Passphrase
def
getPassphrase
():
passphrase1
=
getpass
(
prompt
=
'Please enter a one-time passphrase of your choice: '
)
passphrase2
=
getpass
(
prompt
=
'Re-enter the one-time passphrase: '
)
if
passphrase1
==
passphrase2
:
pass
else
:
print
(
"Error! Mismatching passphrases."
)
passphrase1
==
passphrase2
==
''
passphrase
()
return
passphrase1
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment