Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
acs-tcl
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
acs-tcl
Commits
6e5bad86
Commit
6e5bad86
authored
May 09, 2006
by
dotproj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added cleartext_password for authentication
parent
4d80748c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
security-procs.tcl
tcl/security-procs.tcl
+4
-0
No files found.
tcl/security-procs.tcl
View file @
6e5bad86
...
@@ -339,6 +339,10 @@ ad_proc -public ad_change_password {
...
@@ -339,6 +339,10 @@ ad_proc -public ad_change_password {
error
"No user_id supplied"
error
"No user_id supplied"
}
}
if
{[
db_column_exists users cleartext_password
]}
{
db_dml cleartext_pwd
"update users set cleartext_password = :new_password where user_id = :user_id"
}
set salt
[
sec_random_token
]
set salt
[
sec_random_token
]
set new_password
[
ns_sha1
"
$new
_password
$salt
"
]
set new_password
[
ns_sha1
"
$new
_password
$salt
"
]
db_dml password_update
{}
db_dml password_update
{}
...
...
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