Skip to content

Deprecated since 7.2

This page documents the classic module layer (CBController and cbInit()). It still works in every 7.x release, but new code should use resources and pages.

Use instead: TextInput::make('password')->password().

Password Form Type ​

Showing a password input type

Code Sample ​

php
$this->form[] = ['label'=>'Password','name'=>'password','type'=>'password'];

It will auto make a hash once the data saved

What's Next ​

Table Of Contents ​

Released under the MIT License.