Skip to content

Commit

Permalink
Limit * to 15 char.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Feb 12, 2016
1 parent ffd0a81 commit a6faf3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/settings/_hidden.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</a>
</div>
<div id="{{ $action }}_container">
<span>{!! str_repeat('*', strlen($value)) !!}</span>
<span>{!! str_limit(str_repeat('*', strlen($value)), 15) !!}</span>
&nbsp;&nbsp;
<a href="#" id="{{ $action }}_button" class="btn btn-mini btn-warning">
{{ trans("orchestra/foundation::label.email.{$action}") }}
Expand Down
2 changes: 1 addition & 1 deletion src/Processor/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private function getValue($input, $alternative)
*
* @return string
*/
public function getDecryptedValue($value)
private function getDecryptedValue($value)
{
try {
return $this->encrypter->decrypt($value);
Expand Down

0 comments on commit a6faf3f

Please sign in to comment.