Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VMS-SUEE_2.0
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Laufer
VMS-SUEE_2.0
Commits
ac17b236
Commit
ac17b236
authored
7 years ago
by
isaack
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
f67816be
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/konto/userprofil.php
+2
-1
2 additions, 1 deletion
content/konto/userprofil.php
with
2 additions
and
1 deletion
content/konto/userprofil.php
+
2
−
1
View file @
ac17b236
...
...
@@ -40,7 +40,8 @@ if ($_POST['aendern'] == 'Jetzt ändern!') {
if
(
$_POST
[
'pwd'
]
&&
$_POST
[
'pwd2'
])
{
if
(
$_POST
[
'pwd'
]
==
$_POST
[
'pwd2'
])
{
if
(
strlen
(
$_POST
[
'pwd'
])
>=
8
)
{
db_query
(
"UPDATE "
.
$db_prefix
.
"_kontodaten SET passwort = '"
.
md5
(
$_POST
[
'pwd'
])
.
"' WHERE uid="
.
$_SESSION
[
'uid'
]
.
""
);
$pw
=
pw_erstellen
(
$_POST
[
'pwd'
]);
db_query
(
"UPDATE "
.
$db_prefix
.
"_kontodaten SET passwort = '"
.
$pw
.
"' WHERE uid="
.
$_SESSION
[
'uid'
]
.
""
);
echo
'<meta http-equiv="refresh" content="0; URL=http://'
.
$_SERVER
[
'HTTP_HOST'
]
.
'/?content=/intern/startseite&logout=true">'
;
// $change .= 'Das Passwort wurde geändert!<br><b><font color="#FF0000">Bitte logge Dich jetzt aus und wieder neu ein!</font></b><br>';
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
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