Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
c38ae26a
Commit
c38ae26a
authored
Dec 20, 2006
by
Nigel McNie
Committed by
Nigel McNie
Dec 20, 2006
Browse files
Redirect back to where we came from, safer for when template things
happen on install
parent
df69539a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/auth/lib.php
View file @
c38ae26a
...
...
@@ -330,8 +330,7 @@ function change_password_submit($values) {
$USER
->
set
(
'password'
,
$password
);
$USER
->
set
(
'passwordchange'
,
0
);
$SESSION
->
add_ok_msg
(
get_string
(
'passwordsaved'
));
redirect
(
get_config
(
'wwwroot'
));
exit
;
redirect
();
}
throw
new
Exception
(
'Attempt by "'
.
$USER
->
get
(
'username'
)
.
'@'
...
...
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!
Cancel
Please
register
or
sign in
to comment