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) ...@@ -1012,7 +1012,16 @@ public function show($id)
1012 } 1012 }
1013 } 1013 }
1014 1014
1015 $data="<h5>Bucket : $bucket</h5>$message_display<hr>$summarycounts<br>"; 1015 $data="<h5>Bucket : $bucket</h5>$message_display<hr>$summarycounts";
1016 /* Code for last login details Flexydial Security Patch*/
1017 $userlogin_id=Auth::user()->id;
1018 $user_login_datetime= UserLog::where('user_id', $userlogin_id)->orderBy('id', 'desc')->skip(1)->take(1)->get();
1019
1020 foreach ($user_login_datetime as $user_login_datetime_key => $user_login_datetime_val)
1021 {
1022 $data.="<h5 align='right'><span class='glyphicon glyphicon-user'></span>Last Login Details :$user_login_datetime_val->updated_at</h5><br>";
1023 }
1024 /* Code for last login details Flexydial Security Patch*/
1016 //code end 1025 //code end
1017 1026
1018 $data.="<a class='pre_nxt' href='#' onclick=\"dialerLoadData('$bucket','$currentstatus','$legalstatus',".($page-1).",$('#dialerbkey').html(),$('#dialerbtxt').val());return false;\">&lt;&lt; Previous Page</a> 1027 $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=""; ...@@ -319,7 +319,9 @@ $msg="";
319 if(isset($error)) 319 if(isset($error))
320 { 320 {
321 if($error=="activationsuccess"){$class="success";$type="Verified!";$msg="Congratulations, your account is now active, please login to continue.";} 321 if($error=="activationsuccess"){$class="success";$type="Verified!";$msg="Congratulations, your account is now active, please login to continue.";}
322 else if($error=="authfailed"){$class="danger";$type="Login Failed!";$msg="Incorrect Email id or password.";} 322 /* Code for last login details Flexydial Security Patch*/
323 else if($error=="authfailed"){$class="danger";$type="Login Failed!"."<br>"; $msg="<b>Unauthorized use of the HDFC Bank applications is prohibited<b>";}
324 /* Code for last login details Flexydial Security Patch*/
323 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.";} 325 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.";}
324 else if($error=="alreadyverified"){$class="warning";$type="Already Verified!";$msg="You have already verified your account.";} 326 else if($error=="alreadyverified"){$class="warning";$type="Already Verified!";$msg="You have already verified your account.";}
325 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.";} 327 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!