3f78fed8 by Yashwant

Flexydial New Security Patch for Login Failure and Last login Details

1 parent b57fc923
......@@ -1012,7 +1012,16 @@ public function show($id)
}
}
$data="<h5>Bucket : $bucket</h5>$message_display<hr>$summarycounts<br>";
$data="<h5>Bucket : $bucket</h5>$message_display<hr>$summarycounts";
/* Code for last login details Flexydial Security Patch*/
$userlogin_id=Auth::user()->id;
$user_login_datetime= UserLog::where('user_id', $userlogin_id)->orderBy('id', 'desc')->skip(1)->take(1)->get();
foreach ($user_login_datetime as $user_login_datetime_key => $user_login_datetime_val)
{
$data.="<h5 align='right'><span class='glyphicon glyphicon-user'></span>Last Login Details :$user_login_datetime_val->updated_at</h5><br>";
}
/* Code for last login details Flexydial Security Patch*/
//code end
$data.="<a class='pre_nxt' href='#' onclick=\"dialerLoadData('$bucket','$currentstatus','$legalstatus',".($page-1).",$('#dialerbkey').html(),$('#dialerbtxt').val());return false;\">&lt;&lt; Previous Page</a>
......
......@@ -319,7 +319,9 @@ $msg="";
if(isset($error))
{
if($error=="activationsuccess"){$class="success";$type="Verified!";$msg="Congratulations, your account is now active, please login to continue.";}
else if($error=="authfailed"){$class="danger";$type="Login Failed!";$msg="Incorrect Email id or password.";}
/* Code for last login details Flexydial Security Patch*/
else if($error=="authfailed"){$class="danger";$type="Login Failed!"."<br>"; $msg="<b>Unauthorized use of the HDFC Bank applications is prohibited<b>";}
/* Code for last login details Flexydial Security Patch*/
else if($error=="Unverified"){$class="danger";$type="Verification Required!";$msg="We have sent a verification mail to your email id, please follow instructions in the mail.";}
else if($error=="alreadyverified"){$class="warning";$type="Already Verified!";$msg="You have already verified your account.";}
else if($error=="msie"){$class="info";$type="Internet Explorer Detected!";$msg="This application doesnot work with MS Internet explorer, please download <a href='http://firefox.com' target=_BLANK>Mozilla Firefox</a> or <a href='http://google.com/chrome' target=_BLANK>Google Chrome</a> to use.";}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!