Important update for email
###Very important update for emails Handling cipher update scenario for decrypt email password Not loading email passoword on edit page to secure email account
This commit is contained in:
@@ -60,8 +60,12 @@ class Emails extends BaseModel
|
||||
|
||||
public function getPasswordAttribute($value)
|
||||
{
|
||||
if ($value) {
|
||||
return \Crypt::decrypt($value);
|
||||
try{
|
||||
if ($value) {
|
||||
return \Crypt::decrypt($value);
|
||||
}
|
||||
} catch(\Exception $e) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $value;
|
||||
|
Reference in New Issue
Block a user