Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-module-privacyidea-pam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eugene Omelyanovich
python-module-privacyidea-pam
Commits
7618c6c6
Commit
7618c6c6
authored
Mar 03, 2016
by
Brandon Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Respect hideResponseInput attribute
parent
bce754b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
privacyidea_pam.py
privacyidea_pam.py
+5
-1
No files found.
privacyidea_pam.py
View file @
7618c6c6
...
...
@@ -171,8 +171,12 @@ class Authenticator(object):
json
.
dumps
(
attributes
[
"u2fSignRequest"
]),
str
(
message
or
""
))
if
bool
(
attributes
.
get
(
"hideResponseInput"
,
True
)):
prompt_type
=
self
.
pamh
.
PAM_PROMPT_ECHO_OFF
else
:
prompt_type
=
self
.
pamh
.
PAM_PROMPT_ECHO_ON
message
=
self
.
pamh
.
Message
(
self
.
pamh
.
PAM_PROMPT_ECHO_OFF
,
challenge
)
message
=
self
.
pamh
.
Message
(
prompt_type
,
challenge
)
response
=
self
.
pamh
.
conversation
(
message
)
chal_response
=
json
.
loads
(
response
.
resp
)
...
...
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