phpldapadmin/app/Classes/LDAP/Attribute/Password.php

24 lines
456 B
PHP
Raw Normal View History

2023-03-02 07:21:53 +00:00
<?php
namespace App\Classes\LDAP\Attribute;
use Illuminate\Contracts\View\View;
2023-03-02 07:21:53 +00:00
use App\Classes\LDAP\Attribute;
use App\Traits\MD5Updates;
2023-03-02 07:21:53 +00:00
/**
* Represents an attribute whose values are passwords
*/
final class Password extends Attribute
2023-03-02 07:21:53 +00:00
{
use MD5Updates;
2023-09-02 10:50:54 +00:00
public function render(bool $edit=FALSE,bool $blank=FALSE): View
2023-03-02 07:21:53 +00:00
{
return view('components.attribute.password')
->with('edit',$edit)
2023-09-02 10:50:54 +00:00
->with('blank',$blank)
->with('o',$this);
2023-03-02 07:21:53 +00:00
}
}