Merge pull request #669 from ladybirdweb/analysis-8n9mBw

Apply fixes from StyleCI
This commit is contained in:
Bhanu
2018-08-16 20:32:50 +05:30
committed by GitHub

View File

@@ -60,12 +60,12 @@ class Emails extends BaseModel
public function getPasswordAttribute($value)
{
try{
try {
if ($value) {
return \Crypt::decrypt($value);
}
} catch(\Exception $e) {
return null;
} catch (\Exception $e) {
return;
}
return $value;