Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory
Commits
bf05c496
Commit
bf05c496
authored
8 years ago
by
Côme Chilliet
Committed by
Mortier Benoit
8 years ago
Browse files
Options
Download
Patches
Plain Diff
Removed unused stuff from password methods
parent
b5b17dfe
dev
6342-update-the-locales-for-1-5
6344-template-issue-when-creating-a-template-with-empty-password-error-message-should-not-be-seen
6365-core-locking-mechanism-is-not-changing-the-mail-ressource-it-does-lock-the-mail-account
6365-core-when-lock-mechanism-is-trigger-the-user-should-not-be-editable-if-not-unlock
6378-orcid-test-method-is-wrong-and-break-orcid-saving
core-php8
master
fusiondirectory-1.5
fusiondirectory-1.4
fusiondirectory-1.3.1
fusiondirectory-1.3
fusiondirectory-1.2.3
fusiondirectory-1.2.2
fusiondirectory-1.2.1
fusiondirectory-1.2
fusiondirectory-1.1.1
fusiondirectory-1.1
fusiondirectory-1.0.20
fusiondirectory-1.0.19
fusiondirectory-1.0.18
fusiondirectory-1.0.17
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/password-methods/class_password-methods-crypt.inc
+0
-10
include/password-methods/class_password-methods-crypt.inc
include/password-methods/class_password-methods.inc
+0
-33
include/password-methods/class_password-methods.inc
with
0 additions
and
43 deletions
+0
-43
include/password-methods/class_password-methods-crypt.inc
+
0
−
10
View file @
bf05c496
...
...
@@ -53,16 +53,6 @@ class passwordMethodCrypt extends passwordMethod
}
}
/*!
* \brief Create template hash
*
* \param string $attrs
*/
function
create_template_hash
(
$attrs
)
{
return
$this
->
generate_hash
(
'N0T$3T4N0W'
)
.
'N0T$3T4N0W'
;
}
/*!
* \brief Generate template hash
*
...
...
This diff is collapsed.
Click to expand it.
include/password-methods/class_password-methods.inc
+
0
−
33
View file @
bf05c496
...
...
@@ -44,20 +44,6 @@ class passwordMethod
{
}
/*!
* \brief Create a template hash
*
* \param $attrs Attr
*/
function
create_template_hash
(
$attrs
)
{
if
(
$this
->
get_hash_name
()
==
""
)
{
return
"
{
crypt
}
N0T$3T4N0W"
;
}
else
{
return
'{'
.
$this
->
get_hash
()
.
'}'
.
'N0T$3T4N0W'
;
}
}
/*!
* \brief Get the Hash name
*/
...
...
@@ -260,15 +246,6 @@ class passwordMethod
{
}
/*!
* \brief Method to let passwords backends manage additional information
* besides the userAttribute entry
*/
function
set_password
(
$password
)
{
return
TRUE
;
}
/*!
* \brief Method to check if a password matches a hash
*/
...
...
@@ -381,16 +358,6 @@ class passwordMethod
return
$this
->
hash
;
}
/*!
* Get the current object
*
* \param string $dn The DN
*/
function
adapt_from_template
(
$attrs
)
{
return
$this
;
}
/*!
* \brief Test for problematic unicode caracters in password
* This can be activated with the keyword strictPasswordRules in the
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets