fix
This commit is contained in:
parent
f79b3841c7
commit
aa3dbdfaa2
@ -13,8 +13,7 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('uuid')->unique();
|
||||
$table->string('name')->default('Your Name Here');
|
||||
$table->string('name')->default('Anonymous');
|
||||
$table->string('email')->unique();
|
||||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
|
@ -67,6 +67,17 @@
|
||||
else console.log('saved');
|
||||
})
|
||||
</script>
|
||||
@else
|
||||
<script>
|
||||
function changePasswordFieldType(id) {
|
||||
const input = document.getElementById(id);
|
||||
if (input.type === 'password') {
|
||||
input.type = 'text';
|
||||
} else {
|
||||
input.type = 'password';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@endauth
|
||||
</body>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user