Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sucssite
sso
Commits
ddf9bfc0
Commit
ddf9bfc0
authored
Oct 31, 2019
by
Imran Hussain
Browse files
Fix a bug where username from old sucs site was not properly 'imported'
parent
e3965639
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/index.php
View file @
ddf9bfc0
...
...
@@ -92,6 +92,7 @@ if ( isset($_POST["username"]) && isset($_POST["password"]) && !$RATELIMITED ) {
// we have a vlid username from a old session
$DB_CON
->
exec
(
"UPDATE sessions SET sucs_username='${username}' WHERE id='${SESSIONID}'"
);
$SUCS_LOGIN
=
true
;
$details
[
"sucs_username"
]
=
$username
;
}
}
...
...
Write
Preview
Supports
Markdown
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