projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some cleanup in localization files.
[timetracker.git]
/
password_change.php
diff --git
a/password_change.php
b/password_change.php
index
62cc962
..
b6fd4dd
100644
(file)
--- a/
password_change.php
+++ b/
password_change.php
@@
-84,11
+84,9
@@
if ($request->isPost()) {
// Redirect, depending on user role.
if ($user->isAdmin()) {
header('Location: admin_teams.php');
// Redirect, depending on user role.
if ($user->isAdmin()) {
header('Location: admin_teams.php');
- }
- else if ($user->isClient()) {
+ } elseif ($user->isClient()) {
header('Location: reports.php');
header('Location: reports.php');
- }
- else {
+ } else {
header('Location: time.php');
}
exit();
header('Location: time.php');
}
exit();