Skip to content

#45 Issue code is now fixed. #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2020
Merged

#45 Issue code is now fixed. #55

merged 1 commit into from
Sep 24, 2020

Conversation

anjali-rathod
Copy link
Contributor

Issue code is now fixed. There is interactivity with the database , hence duplicate issue wont be made.

Copy link
Collaborator

@guptahemant guptahemant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do create a follow up, merging this.

Comment on lines +68 to +79
{
$_SESSION["uname"]=$row['uname'];
$_SESSION["email"]=$_POST['email'];
$_SESSION["admin"]=$k->admin($_SESSION["email"]);
$_SESSION["uno"]=$k->uno($_SESSION["email"]);
$ob=new book;
$ob->issue_check($_SESSION["uno"]);
$_SESSION["success"]="Login success";
$_SESSION["logged_in"]="pass";
if (!empty($_POST['remember']))
{
setcookie ("email", $_POST['email'], time()+ (10 * 365 * 24 * 60 * 60));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Session management should be the part of session class, Please do create a follow up to refactor this.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@guptahemant guptahemant merged commit 73df0a2 into JayKandari:master Sep 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants