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

24 lines
456 B
PHP

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